-
Notifications
You must be signed in to change notification settings - Fork 932
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
FindNeighbors()
error: invalid class “Graph” object: superclass "Mnumeric" not defined..
#4436
Comments
HI! Same issue appeared on my macOS Catalina 10.15.7... not recalling if I updated anything. Perhaps just restarted my MAC.
sessionInfo() Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
Hi, I'm also encountering the same issue, exact same command and error message. I installed Seurat in a fresh conda environment around 8 hours ago, and it worked fine. I then installed Scater, and suddenly I'm getting this error message. Perhaps there's specific dependency causing an issue? R version 4.0.3 (2020-10-10) attached base packages: other attached packages: loaded via a namespace (and not attached): |
I believe it's a problem related to the latest version of the Matrix package (1.3-3). I updated my packages today and ran into the same error message. Searching the web, I found this issue associating a similar error with the Matrix package. Downgrading for version 1.3-2 solved the problem. A modification related to 'Mnumeric' is mentioned in the description of the update (https://cloud.r-project.org/web/packages/Matrix/news.html): |
Super detective work @ftencaten 😎 For posterity: remove.packages("Matrix")
packageurl <- "https://cran.r-project.org/src/contrib/Archive/Matrix/Matrix_1.3-2.tar.gz"
install.packages(packageurl, repos=NULL, type="source") |
Very useful, thanks! And do not forget to restart your Rstudio. 😎 |
* Peg to matrix 1.3-2 to avoid Mnumeric issue: satijalab/seurat#4436
same issue but the Matrix version 1.3-2 is not available for MacOS, please help |
@Fiona-Pan One of our students mentioned this (mac specific) issue when attempting to install from source: |
thank you! that works! |
Hi all, This has been addressed with SeuratObject v4.0.1; from a fresh R session, simply reinstall SeuratObject to fix this compatibility issue with Matrix 1.3-3 install.packages("SeuratObject") Please note: binaries have not been built for all platforms or pushed to all mirrors yet, so you may have to allow R to build SeuratObject from source |
thanks. |
I met the same issue for MacOS, and my friend noticed that it may be a version problem. So we install R package "Seurat" again, then the problem is solved. |
Hi,
Initially ran into this error on a small 1k pbmc dataset, but was able to reproduce it using the dataset given for the Guided Clustering Tutorial using the exact same
Rmd
file. IIRC, the error popped up when attempting to knit the document (however, when assembling my custom Rmd file, the code chunks ran perfectly fine). Since attempting to knit the document, the error has persisted - even after restarts of both RStudio and Ubuntu. Perhaps worth mentioning that I recently updated Ubuntu and did a fresh install of R, RStudio, perhaps I am missing a package but it is not obvious to me with my limited experience with Seurat.line 267:
Error
:Traceback
:The text was updated successfully, but these errors were encountered: