Hi everyone,
I have used the newest version of R (3.2.2 and 3.2.3) and Bioconductor (3.2), but I still could not successfully load the package mzR, it seems that it was one of the issues many people had mentioned -- compiler/linker. Below is the error message and the sessionInfo(). Note that I used R 3.2.3 first although the below was the output when I tried R 3.2.2.
> library(mzR)
Error : .onLoad failed in loadNamespace() for 'mzR', details:
call: description[["RcppModules"]]
error: subscript out of bounds
In addition: Warning messages:
1: In fun(libname, pkgname) :
mzR has been built against a different Rcpp version (0.12.1)
than is installed on your system (0.12.3). This might lead to errors
when loading mzR. If you encounter such issues, please send a report,
including the output of sessionInfo() to the Bioc support forum at
https://support.bioconductor.org/. For details see also
https://github.com/sneumann/mzR/wiki/mzR-Rcpp-compiler-linker-issue.
2: In packageDescription(pkg, lib.loc = lib) : no package 'mzR' was found
Error: package or namespace load failed for ‘mzR’
> sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
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
other attached packages:
[1] Rcpp_0.12.3 limma_3.24.15
loaded via a namespace (and not attached):
[1] ProtGenerics_1.0.0 parallel_3.2.2 Biobase_2.28.0
[4] BiocGenerics_0.14.0
I hope the output is not too messy to read. Look forward to hearing some helpful advice.
Many thanks in advance,
Mike C.
This issue bothers me because these two are some of the dependencies needed for compiling our own r package.