satijalab / seurat

R toolkit for single cell genomics
http://www.satijalab.org/seurat
Other
2.3k stars 918 forks source link

Error loading Seurat on R studio #9166

Closed cmullen2-web closed 3 months ago

cmullen2-web commented 3 months ago

Hello there, I am trying to analyse some aligned scRNA-Seq data on R studio. When I try to run Seurat I keep persistently receiving this error, which has now occurred when I start a new session in R studio, I found a similar error online which states that it is due to trying to run Seurat which is already loaded or updating. I have tried uninstalling Seurat and re-installing but I am persistently met with the same error code.

library("Seurat") Error: package or namespace load failed for ‘SeuratObject’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): namespace ‘parallelly’ 1.37.1 is being loaded, but >= 1.38.0 is required Error: package ‘SeuratObject’ could not be loaded

Has anyone come across a similar problem or have any ideas how to overcome this?

samuel-marsh commented 3 months ago

Hi,

Not member of dev team but hopefully can be helpful. So the issue as the error message states is that parallelly 1.38.0 is being required. So all you should need to do is update the parallelly package.

If you restart your R session and update the parallelly package and then try and load Seurat does that fix the issue?

Best, Sam

zskylarli commented 3 months ago

Closing this issue due to inactivity (thank you @samuel-marsh for your suggestion!)

cmullen2-web commented 3 months ago

Belated thank you for your help @samuel-marsh!