-
Notifications
You must be signed in to change notification settings - Fork 902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in validityMethod(as(object, superClass)) : object 'CsparseMatrix_validate' not found #6746
Comments
Did you solve the problem? I met the same error. |
no |
I got the same error. |
My R version is also 4.2.2. i also reinstalled Seurat |
I have the same question. You should update your 'Matrix' package to 1.5.3 version to follow up with the nearest version of Seurat. |
I solved this by uninstalling the "Matrix" package and re-installing it. |
Thanks to all. I also solved this issue by re-installing the "Matrix" package. |
Thank you @chishiba0520 for solving this issue. |
Hi all! I updated my Matrix, and the problem is still there. |
Try to uninstall and install it again.
chen-peng-1874 ***@***.***> 于2023年1月16日周一 01:58写道:
… Hi all! I updated my Matrix, and the problem is still there.
—
Reply to this email directly, view it on GitHub
<#6746 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQXPK7XEJQOWXWH563XLHLLWST5R7ANCNFSM6AAAAAASSPHZNU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thank you for your advice.
I tried remove.packages(), and installed again. But this problem is still there.
Peng
________________________________
From: dhkong78 ***@***.***>
Sent: Monday, January 16, 2023 12:10 PM
To: satijalab/seurat ***@***.***>
Cc: Peng Chen ***@***.***>; Comment ***@***.***>
Subject: Re: [satijalab/seurat] Error in validityMethod(as(object, superClass)) : object 'CsparseMatrix_validate' not found (Issue #6746)
Try to uninstall and install it again.
chen-peng-1874 ***@***.***> 于2023年1月16日周一 01:58写道:
Hi all! I updated my Matrix, and the problem is still there.
―
Reply to this email directly, view it on GitHub
<#6746 (comment)><https://urldefense.com/v3/__https://github.com/satijalab/seurat/issues/6746*issuecomment-1383621803*3E__;IyU!!LIr3w8kk_Xxm!rvXGBlhfZEjiUDmfwM_2_NaumV9P6Efti0StUwUN4MCR79o7iHo_cXBnSM4_7lh7AeVC8yLhkm2KHXm8rdb44eCKQw$>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQXPK7XEJQOWXWH563XLHLLWST5R7ANCNFSM6AAAAAASSPHZNU><https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AQXPK7XEJQOWXWH563XLHLLWST5R7ANCNFSM6AAAAAASSPHZNU*3E__;JQ!!LIr3w8kk_Xxm!rvXGBlhfZEjiUDmfwM_2_NaumV9P6Efti0StUwUN4MCR79o7iHo_cXBnSM4_7lh7AeVC8yLhkm2KHXm8rdZ8VuwS9w$>
.
You are receiving this because you commented.Message ID:
***@***.***>
―
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/satijalab/seurat/issues/6746*issuecomment-1384507366__;Iw!!LIr3w8kk_Xxm!rvXGBlhfZEjiUDmfwM_2_NaumV9P6Efti0StUwUN4MCR79o7iHo_cXBnSM4_7lh7AeVC8yLhkm2KHXm8rdY91UcXvQ$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/A5IW6RGAQE4XWRVBA2PKYU3WSWTMJANCNFSM6AAAAAASSPHZNU__;!!LIr3w8kk_Xxm!rvXGBlhfZEjiUDmfwM_2_NaumV9P6Efti0StUwUN4MCR79o7iHo_cXBnSM4_7lh7AeVC8yLhkm2KHXm8rdZSLRtfcQ$>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Hello! Same error here, has anyone find the solution? I've also tryed to install matrix again but it isn't working. |
I tried this solution again and again from 3 days ago. I tried uninstalled and install "Matrix" many times. And FindNeighbors could not work. This is my code. |
Same Here,
|
Hello! I could solve the problem! In my case I needed to update the version of Rtools to get the real last update from the package Matrix. Otherwise, even if I was uninstalling and reinstalling again the Matrix package, it was not functioning well. So I did: And then it worked fine! I hope I can help any of you with this info :) |
Thank you so much. Have a good day. |
Thank You for help. |
You can try what they suggest here: https://stackoverflow.com/questions/5171593/r-memory-management-cannot-allocate-vector-of-size-n-mb |
Hi Marta,
The Matrix package version is 1.5.1 which is not suitable for use. Remove it and download version 1.5.3, I tried and succeeded.
Chen Peng
Postdoctoral Scholar - Research Associate
Center for Craniofacial Molecular Biology
Herman Ostrow School of Dentistry
2250 Alcazar St. CSA 119
Los Angeles, CA 90089
…________________________________
发件人: Marta Sánchez Carbonell ***@***.***>
发送时间: Tuesday, January 24, 2023 1:59:37 AM
收件人: satijalab/seurat ***@***.***>
抄送: Peng Chen ***@***.***>; Comment ***@***.***>
主题: Re: [satijalab/seurat] Error in validityMethod(as(object, superClass)) : object 'CsparseMatrix_validate' not found (Issue #6746)
Hello! Same error here, has anyone find the solution? I've also tryed to install matrix again but it isn't working.
―
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/satijalab/seurat/issues/6746*issuecomment-1401659701__;Iw!!LIr3w8kk_Xxm!vKRmMX8A1pZavmLy8C8cA-Arg23wnGEeHF5n-BaEajeLCB4xcc5-KjUmqKlOxRg1Sqwy8LORcIJF9yP8e51za3Lhdw$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/A5IW6REJNQFD7JR7TVQHO7DWT6RYTANCNFSM6AAAAAASSPHZNU__;!!LIr3w8kk_Xxm!vKRmMX8A1pZavmLy8C8cA-Arg23wnGEeHF5n-BaEajeLCB4xcc5-KjUmqKlOxRg1Sqwy8LORcIJF9yP8e51MsWhhrg$>.
You are receiving this because you commented.Message ID: ***@***.***>
|
yes i have tried it, but bad luck, an error is still there. :( |
So I have been wrestling with this issue for a couple days and I think I figured out a fix. Many in this thread have said to update the Matrix package. However, I tried this by doing update.package() and that didn't work. I eventually found a thread where someone mentioned that they should be in 1.5.3 version of Matrix and even after I updated in R. So i just deleted the Matrix package and then downloaded the latest version through CRAN and i finally got it to work. |
For those finding that removing and reinstalling via remove.packages() and install.packages() wasn't working to fix this problem (i.e. it wouldn't update the version) I had to go to the library location and manually delete the Matrix folder in order to remove the old version. Then install.packages("Matrix") correctly installed version 1.5-3. |
Correctly! I did it in the same way, and the problem was solved.
…________________________________
From: Samantha ***@***.***>
Sent: Wednesday, February 22, 2023 11:37 AM
To: satijalab/seurat ***@***.***>
Cc: Peng Chen ***@***.***>; Comment ***@***.***>
Subject: Re: [satijalab/seurat] Error in validityMethod(as(object, superClass)) : object 'CsparseMatrix_validate' not found (Issue #6746)
For those finding that removing and reinstalling via remove.packages() and install.packages() wasn't working to fix this problem (i.e. it wouldn't update the version) I had to go to the library location and manually delete the Matrix folder in order to remove the old version. Then install.packages("Matrix") correctly installed version 1.5-3.
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/satijalab/seurat/issues/6746*issuecomment-1440689780__;Iw!!LIr3w8kk_Xxm!vP5_f7YfesGy3VJkBMsMnHub-j8MMKuDjZOwKjwrYqRayJsU15L22AQZ4X7YhHCzLSnoo-kDYfmTaVOXNoXtOMyqNA$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/A5IW6RHZUQMXKVMOHBVKGNLWYZTGHANCNFSM6AAAAAASSPHZNU__;!!LIr3w8kk_Xxm!vP5_f7YfesGy3VJkBMsMnHub-j8MMKuDjZOwKjwrYqRayJsU15L22AQZ4X7YhHCzLSnoo-kDYfmTaVOXNoUDSfDroA$>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Using command to reinstall the Matrix doesn't work for me. So I tried to delete and install it from the packages pane, and I succeeded. Hope it could be helpful for you! |
It seems that this issue is solved by the community contribution. Thank you very much for all of you! |
I had the same issue. I could only reinstall Matrix before loading Seurat. I used install.packages("Matrix", repos = "http://cran.r-project.org") |
my Matrix version is 1.5-3, seurat version is 4.3.0, seuratobject version is 4.1.3 and i still had this problem. I followed the instruction to reinstall Matrix,seurat and also seuratobject, but still didn't work out. Then I restart the Rstudio, and it finally succeeded!! |
Because your matrix package is old version, remove it and then install new version. |
To anyone that is still having issues, I was able to resolve this issue by first updating to the latest version of Matrix (1.5-4.1 at time of writing), AND loading Matrix before loading any other package. I tried loading Matrix after loading other packages, and got the error. Only after loading Matrix first, then loading other packages, including Seurat, did the issue resolve. Hope someone finds this helpful. r/4.2.2 |
I encountered the same issue as well. I tried to uninstall and reinstall the 'Matrix' package, but the error still persists. My R version is 4.3.1. |
There must be an error in |
I solve this problem. The version of matrix should be "1.5-4.1", and the 1.6 is not suitable. |
Just curious about when we could use Matrix 1.6 in Seurat (I tried but still I have to go back to version 1.5-4.1 to access dgcMatrix in Seurat). Since I need to use other package which needs the latest version of Matrix, is there any way to upgrade Seurat to use the version 1.6? |
Hi everyone, Scaling features for provided objects |
I'm having this same error. Csparse_validate instead of CsparseMatrix_validate...... |
I have the same error, too. I think it just occurs in the recent few days. |
it works! thanks! |
This helped me install.packages(c("Seurat", "SeuratObject"), type="source") |
For those having problems with Csparse_validate instead of CsparseMatrix_validate, try to create a var before calling the function with the problem like this: |
For me even manually deleting and reinstalling of Matrix 1.6 or particularly Matrix 1.5-3 did NOT work. What actually worked was to generate Thanks so much! |
Hi, I have the same problem. And I removed and reinstalled package "Matrix". But I still have the same error: Any other suggestion? Many thanks
|
Hello @AndreaYCT
Copy-paste below code line before you do integration step: HTH, |
hi, @shaniAmare, Thanks! But that means i have to redo all the integration and slingshot T_T
|
Wherever you come this error at, run that one liner just above it. It will hopefully solve it then :) |
hi, @shaniAmare, It worked!!!!!!! Many thanks!!!!! Andrea
|
hi, there is one error. how can i solve the problem?
Error in validityMethod(as(object, superClass)) :
object 'CsparseMatrix_validate' not found
The text was updated successfully, but these errors were encountered: