Entering edit mode
lmg
•
0
@lmg-20323
Last seen 5.7 years ago
I tried several times installing the MSnbase package using:
BiocManager::install("MSnbase")
or
BiocManager::install("MSnbase", dependencies= T)
When I try to load the MSnbase package using library(MSnbase) I get the following error:
> library(MSnbase)
Error: package or namespace load failed for ‘MSnbase’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
object 'vI' not found
I am having the same problem with another package, "pheatmap" I do not know what else to do. Help please!
> sessionInfo()
R version 3.5.3 (2019-03-11)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252
[3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C
[5] LC_TIME=English_United Kingdom.1252
attached base packages:
[1] stats4 parallel stats graphics grDevices utils datasets methods base
other attached packages:
[1] BiocParallel_1.16.6 ProtGenerics_1.14.0 S4Vectors_0.20.1 mzR_2.16.2 Rcpp_1.0.1
[6] Biobase_2.42.0 BiocGenerics_0.28.0
loaded via a namespace (and not attached):
[1] impute_1.56.0 tools_3.5.3 grid_3.5.3 yaml_2.2.0 BiocManager_1.30.4 codetools_0.2-16
[7] ncdf4_1.16.1 compiler_3.5.3
Thank you
Dear Laurent,
Unfortunately it does not work. This is the output after installation:
The "caret" package new version 6.0-82 is not available as windows binary file, so it is not really updated even I choose so.
Weird... Could you try to
remove.packages("MSnbase")
and re-install it again. I wonder if this might not be related to packages and their dependencies being installed in different libraries. What's your output of.libPaths()
?Dear Laurent,
I managed to solve the issue by re-installing all my packages from scratch. Given the BiocManager update probably I was dragging packages from older versions which were giving problems, as it was not only MSnbase that gave this error. I keep my packages in two directories but I always set this up at the start of the R session.
Anyway, I saw a lot of posts in forums with people having the "object 'vI' not found" error, so maybe this is useful for them too.
Thank you for your help!