Error: package or namespace load failed for ‘':
Entering edit mode
Jack • 0
Last seen 12 days ago
United Kingdom


I recently installed the 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:

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

I tried uninstalling and reinstalling the 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

[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 • 440 views
Entering edit mode
Last seen 5 hours ago
United States

It’s Rstudio.

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.

Entering edit mode

It worked! Brilliant. Thanks so much!


Login before adding your answer.

Traffic: 385 users visited in the last hour
Help About
Access RSS

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

Powered by the version 2.3.6