mzR / Rcpp包异常

时间:2014-04-02 11:18:04

标签: r

当我尝试加载mzR库时,我遇到以下错误。有人知道在哪里搜索解决方案。我也尝试重新安装 mzR Rcpp ,但没有效果。

> library(mzR)
Lade nötiges Paket: Rcpp
Error : .onLoad in loadNamespace() für 'mzR' fehlgeschlagen, Details:
  Aufruf: value[[3L]](cond)
  Fehler: failed to load module Ramp from package mzR
kann Vektor der Größe 13.2 GB nicht allozieren
Zusätzlich: Warnmeldungen:
1: In fun(libname, pkgname) :
   mzR has been built against a different Rcpp version
 than is installed on your system. 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
 mailing list -- http://www.bioconductor.org/help/mailing-list.
2: In Module(m, pkg, mustStart = TRUE) :
  Reached total allocation of 8183Mb: see help(memory.size)
3: In Module(m, pkg, mustStart = TRUE) :
  Reached total allocation of 8183Mb: see help(memory.size)
4: In Module(m, pkg, mustStart = TRUE) :
  Reached total allocation of 8183Mb: see help(memory.size)
5: In Module(m, pkg, mustStart = TRUE) :
  Reached total allocation of 8183Mb: see help(memory.size)
Fehler: Laden von Paket oder Namensraum für ‘mzR’ fehlgeschlagen
> sessionInfo()
R version 3.0.3 (2014-03-06)
Platform: x86_64-w64-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=German_Germany.1252  LC_CTYPE=German_Germany.1252    LC_MONETARY=German_Germany.1252 LC_NUMERIC=C                   
[5] LC_TIME=German_Germany.1252    

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

other attached packages:
[1] Rcpp_0.11.1

loaded via a namespace (and not attached):
[1] Biobase_2.20.1     BiocGenerics_0.6.0 parallel_3.0.3 

mzR 版本是1.6.3问题有一般解决方案吗?我不想在每个版本中遇到同样的问题...

提前谢谢你,

1 个答案:

答案 0 :(得分:0)

多次重新安装 mzR 包后,我找到了这个解决方案:

source("http://bioconductor.org/biocLite.R") 
biocLite("BiocUpgrade")

对我来说,似乎 bioconductor 正在以错误的方式构建mzR包。