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 !

Thank you very much for your kind help.



      
	[[alternative HTML version deleted]]

