1

Hope somebody could help me .. I'm trying to install the mzmatch.R package for metabolomics, following the instructions here: http://mzmatch.sourceforge.net/tutorial.mzmatch.r.php

I'm completely new to R so this is my first time doing this sort of thing. First, I downloaded the latest version of R and installed it on Mac OSX 10.7. This is the version of R that I have running: R 2.15.0 GUI 1.51 Leopard build 64-bit (6148)

Then I launched R64.app and typed the following commands (as specified in the instructions in the link above) to install the package and all its dependencies.

> source("http://bioconductor.org/biocLite.R")
> biocLite(c("faahKO", "xcms", "multtest"))
> install.packages(c("rJava","XML","snow","caTools","bitops","ptw"))
> source ("http://puma.ibls.gla.ac.uk/mzmatch.R/install_mzmatch.R")

The last step will always fail with the following message:

trying URL 'http://puma.ibls.gla.ac.uk/mzmatch.R/mzmatch.R.tar.gz'
Content type 'application/x-gzip' length 104535 bytes (102 Kb)
opened URL
==================================================
downloaded 102 Kb

* installing *source* package ‘mzmatch.R’ ...
** R
** preparing package for lazy loading
Error : .onLoad failed in loadNamespace() for 'mzR', details:
  call: value[[3L]](cond)
  error: failed to load module Ramp from package mzR
could not find function "errorOccured"
Error : package ‘mzR’ could not be loaded
ERROR: lazy loading failed for package ‘mzmatch.R’
* removing ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/mzmatch.R’
Warning message:
In install.packages(pkgs = "mzmatch.R.tar.gz", repos = NULL, type = "source") :
  installation of package ‘mzmatch.R.tar.gz’ had non-zero exit status

I thought this was because the library "mzR" cannot be loaded, so I tried:

> biocLite("mzR")
> library("mzR")

and sure enough, the same error appeared:

Loading required package: Rcpp
Error : .onLoad failed in loadNamespace() for 'mzR', details:
  call: value[[3L]](cond)
  error: failed to load module Ramp from package mzR
could not find function "errorOccured"
Error: package/namespace load failed for ‘mzR’    

I'm quite lost now, and not sure what to do at all. Thanks for reading !

2

1 Answer 1

3

Assuming you are running mzR v1.2.1 and Rcpp v0.9.12, the problem you see is an unfortunate and unexpected incompatibility between the two. In the meantime, downgrading to Rcpp_0.9.10.zip will fix the issue. Hope to commit a proper fix soon.

Laurent

UDAPE: The issue was the result of compiler/linker error and required a fresh mzR build, which is now available through biocLite.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.