Error: package or namespace load failed for ‘org.Mm.eg.db':
1
0
Entering edit mode
Jack • 0
@070c2a99
Last seen 2.9 years ago
United Kingdom

Hi,

I recently installed the org.Mm.eg.db package and for about a week I was able to load and access it perfectly. However, now when I try load the package I get the following error:

library('org.Mm.eg.db')
Error: package or namespace load failed for ‘org.Mm.eg.db’:
 .onLoad failed in loadNamespace() for 'org.Mm.eg.db', details:
  call: l$contains
  error: $ operator is invalid for atomic vectors

I tried uninstalling and reinstalling the org.Mm.eg.db package but it still brings up the same error when loading. It was loading fine the previous week and I have no idea what could have possibly changed in that time as I have not been using R. I'm completely lost. Can anyone be of assistance?

sessionInfo( )

```
R version 4.0.5 (2021-03-31)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS High Sierra 10.13.6

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8

attached base packages:
[1] parallel  stats4    stats     graphics  grDevices utils     datasets 
[8] methods   base     

other attached packages:
[1] AnnotationDbi_1.52.0 IRanges_2.24.1       S4Vectors_0.28.1    
[4] Biobase_2.50.0       BiocGenerics_0.36.0 

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.6          DBI_1.1.1           RSQLite_2.2.6      
 [4] cachem_1.0.4        rlang_0.4.10        blob_1.2.1         
 [7] vctrs_0.3.7         tools_4.0.5         bit64_4.0.5        
[10] tinytex_0.31        bit_4.0.4           fastmap_1.1.0      
[13] xfun_0.22           compiler_4.0.5      pkgconfig_2.0.3    
[16] BiocManager_1.30.12 memoise_2.0.0      
org.Mm.eg.db • 1.7k views
ADD COMMENT
2
Entering edit mode
@james-w-macdonald-5106
Last seen 4 hours ago
United States

It’s Rstudio. https://github.com/rstudio/rstudio/issues/9219

You can try the fix proposed by Kevin Ushey in that bug report, or run R from the command line, or if you require an IDE, you could switch to emacs/ESS. IMO the latter is a far superior option, so you might take a look. Vincent Goulet has an installer that makes it as easy to install as RStudio.

ADD COMMENT
0
Entering edit mode

It worked! Brilliant. Thanks so much!

ADD REPLY

Login before adding your answer.

Traffic: 673 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6