Question: Problem in MEtShot install_ mzR /Rcpp version
gravatar for gip
3.3 years ago by
European Union
gip0 wrote:

I was tring to install
to finally install install_github("stanstrup/convert.waters.raw")

I get this error:

* installing *source* package 'MetShot' ...
** R
** inst
** tests
** preparing package for lazy loading
Advarsel i fun(libname, pkgname) :
  mzR has been built against a different Rcpp version (0.11.6)
than is installed on your system (0.12.1). 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 For details see also

** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
Advarsel i library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE) :
  there is no package called 'MetShot'
Fejl: loading failed
Kørsel stoppet
ERROR: loading failed
* removing '\\'
Error: Command failed (1)

My sessionInfo() is

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

[1] LC_COLLATE=Danish_Denmark.1252  LC_CTYPE=Danish_Denmark.1252    LC_MONETARY=Danish_Denmark.1252
[4] LC_NUMERIC=C                    LC_TIME=Danish_Denmark.1252    

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

other attached packages:
[1] BiocInstaller_1.18.4 devtools_1.9.1      

loaded via a namespace (and not attached):
[1] httr_1.0.0    R6_2.1.1      magrittr_1.5  tools_3.2.2   curl_0.9.3    memoise_0.2.1 stringi_0.5-5 stringr_1.0.0
[9] digest_0.6.8 


Should I downgrade Rcpp version?


Thank you

mzr rcpp • 805 views
ADD COMMENTlink written 3.3 years ago by gip0

I am not sure if the mzR warning you get is the problem (I will still commit a fix to get rid of it later today). The (or one) issue, however, is clearly there is no package called 'MetShot'. I tried installing devtools::install_github("sneumann/MetShot"), which worked on my computer.

Could you load, or if not available, install the following dependencies and start again: CAMERA, xcms, XML, class and Biobase.

ADD REPLYlink modified 3.3 years ago • written 3.3 years ago by Laurent Gatto1.1k

For the record, a new version of mzR (2.3.3 in devel and 2.2.2 in release) that uses the latest Rcpp should become available within 24 hours.

ADD REPLYlink written 3.3 years ago by Laurent Gatto1.1k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 329 users visited in the last hour