Entering edit mode
dolivenca3
•
0
@62c3b3aa
Last seen 3.9 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.
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)
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.BiocManager::valid()
might be a good place to start...Strange. My R is in C:. Why the path is going to oneDrive?
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.
The problem is actually in the 'Error', not the 'Warninig'
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.
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.