Hello, Do you have NetCDF library correctly installed (with headers)?
Regards, Pascal On Sun, Apr 6, 2014 at 11:26 PM, Marc Girondot <marc_...@yahoo.fr> wrote: > I just have installed the last RC of R 3.1. All is ok except for 3 packages > that I was not able to compile and they do not exist as precompiled package > for MacOSX (Marverick): > > These packages are RnetCDF, ncdf or ncdf4. For all, I get error when I try > to install them: > install.packages("RNetCDF", type="source") > .... > checking for nc_create in -lnetcdf... no > configure: error: netcdf library not found > ERROR: configuration failed for package ‘RNetCDF’ > * removing > ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/RNetCDF’ > > install.packages("ncdf", type="source") > .... > configure: error: netcdf header netcdf.h not found > ERROR: configuration failed for package ‘ncdf’ > * removing > ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ncdf’ > Warning in install.packages : > installation of package ‘ncdf’ had non-zero exit status > > install.packages("ncdf4", type="source") > .... > ERROR: configuration failed for package ‘ncdf4’ > * removing > ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ncdf4’ > Warning in install.packages : > installation of package ‘ncdf4’ had non-zero exit status > > Sincerely, > > Marc Girondot > > ______________________________________________ > 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. -- Pascal Oettli Project Scientist JAMSTEC Yokohama, Japan ______________________________________________ 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.