Question: Errors installing mzR package
0
gravatar for pdaltron
5 months ago by
pdaltron0
pdaltron0 wrote:

Dear all,

I have been trying to run a few examples using proteomics data and I have been getting the follow error message below. Could anyone help me to understand this problem?

Thanks in advance!

Version Info
R version: R version 3.5.3 (2018-12-20) 
RStudio version 1.1.463
Bioconductor version: 3.8 
>install.packages("BiocManager")
BiocManager::install("colorspace", dependencies = TRUE)
BiocManager::install("RforProteomics")
BiocManager::install("MSnbase", dependencies = TRUE)

>library("RforProteomics")
Loading required package: MSnbase
Loading required package: mzR
Error: package or namespace load failed for ‘mzR’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 there is no package called ‘ncdf4’
Error: package ‘mzR’ could not be loaded
proteomics error • 150 views
ADD COMMENTlink modified 5 months ago by Laurent Gatto1.2k • written 5 months ago by pdaltron0
Answer: Errors installing mzR package
0
gravatar for Laurent Gatto
5 months ago by
Laurent Gatto1.2k
Belgium
Laurent Gatto1.2k wrote:

The mzR package is missing. The lines that tried to installed RforProteomics and MSnbase must have failed, as both depend on mzR.

To install mzR you will first have to install a system dependency, ncdf4, using your package manager. On ubuntu/debian, it should be sudo apt install libnetcdf-dev. Then, run BiocManager::install("mzR").

ADD COMMENTlink written 5 months ago by Laurent Gatto1.2k

Thanks! I have just done what you told me. I think It is working.

ADD REPLYlink written 5 months ago by pdaltron0
Please log in to add an answer.

Help
Access

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