On 16.03.2010 07:06, BabyL BabyK wrote:
Dear R communities Could you please help me with the problem I encounter while trying to install the ncdf package? download.packages("ncdf", "/home/user/soft/R/library/") cd /home/user/soft/R/library R CMD INSTALL ncdf_1.6.tar.gz # fail sudo R CMD INSTALL ncdf_1.6.tar.gz # fail cd /home/user/soft/ # download http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-4.0.1.tar.gz tar -xzvf netcdf-4.0.1.tar.gz R CMD INSTALL --configure-args="-with-netcdf_incdir=/home/user/soft/netcdf-4.0.1/libsrc -with-netcdf_libdir=/home/user/soft/netcdf-4.0.1/libsrc/" ncdf_1.6.tar.gz # Error: user specified netCDF library directory does not have libnetcdf.a !
You need to install netcdf first, then specify the include and libdir (the later will contain the lib afterwards).
Uwe Ligges
Thank you very much for your kind help. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.