Cannot call biomaRt library.
0
0
Entering edit mode
dolivenca3 • 0
@62c3b3aa
Last seen 3.3 years ago

I have installed bioconductor and when I call library(biomaRt) I get an error.


> library(biomaRt)
Error: package or namespace load failed for ‘biomaRt’ in inDL(x, as.logical(local), as.logical(now), ...):
 unable to load shared object 'C:/Users/doliv/OneDrive/Documents/R/win-library/4.0/Rcpp/libs/x64/Rcpp.dll':
  LoadLibrary failure:  The specified procedure could not be found.
In addition: Warning message:
package ‘biomaRt’ was built under R version 4.0.3 

> sessionInfo()
R version 4.0.0 (2020-04-24)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 
[2] LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

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

loaded via a namespace (and not attached):
[1] compiler_4.0.0 DBI_1.1.0      stats4_4.0.0   XML_3.99-0.5

Thanks for your help.

installationofbioconductor biomaRt • 1.7k views
ADD COMMENT
0
Entering edit mode

Can you try to re-install biomaRt? It seems that you also have more than one version of R on your computer (4.0.0 and 4.0.3)

ADD REPLY
0
Entering edit mode

My guess from the OneDrive part of the path is that the library is shared across multiple computers, which might explain the different R versions.

ADD REPLY
0
Entering edit mode

BiocManager::valid() might be a good place to start...

ADD REPLY
0
Entering edit mode

Strange. My R is in C:. Why the path is going to oneDrive?

ADD REPLY
0
Entering edit mode

I already tried to re-install biomaRt with no success.

I have only one version of R in my computer. It is 4.0.0. biomaRt was build on 4.0.3. I will try to update my R version and see if it makes a difference.

Thanks for the comment.

ADD REPLY
0
Entering edit mode

The problem is actually in the 'Error', not the 'Warninig'

Error: package or namespace load failed for ‘biomaRt’ in inDL(x, as.logical(local), as.logical(now), ...):
 unable to load shared object 'C:/Users/doliv/OneDrive/Documents/R/win-library/4.0/Rcpp/libs/x64/Rcpp.dll':
  LoadLibrary failure:  The specified procedure could not be found.

and indicates that the Rcpp package is somehow causing problems. There is a known issue with Rcpp on Windows under R version 4.0.0, but I don't know the details or whether it would be sufficient to just reinstall Rcpp.

ADD REPLY
0
Entering edit mode

I installed all dependencies individually but the problem persisted. Thanks for the comment. I will update my R tomorrow and see if it makes a difference.

ADD REPLY

Login before adding your answer.

Traffic: 769 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