mzR installation problem
1
1
Entering edit mode
yizhong99 ▴ 10
@yizhong99-6953
Last seen 9.5 years ago
United States

I used R version 3.1.0, when I try to install mzR package

biocLite('mzR')

The installation will be fail it give me

 rnetCDF.h:1:20: error: netcdf.h: No such file or directory

 rnetCDF.c:26: error: 'NC_MAX_VAR_DIMS' undeclared (first use in this

 function)

 make: *** [rnetCDF.o] Error 1

 ERROR: compilation failed for package 'mzR'

 

Many thanks for help

software error mzr installation • 2.4k views
ADD COMMENT
1
Entering edit mode
@laurent-gatto-5645
Last seen 2 days ago
Belgium

mzR has a few system requirements, including NetCDF. On debian systems, the following should get you going: apt-get install libnetcdf-dev.

Hope this helps.

Laurent

 

ADD COMMENT
0
Entering edit mode

I tried the command you suggested on the terminal. After this if I try to install mzR in R, it just doesn't stop seems like it has gone into some circular loop.

ADD REPLY

Login before adding your answer.

Traffic: 907 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6