Right. I have udunits2 installed, but that's not enough. It seems to want udunits, instead, even though the latter is deprecated.
I downloaded the older package from http://www.unidata.ucar.edu/downloads/udunits/index.jsp but it does not compile, e.g. ../port/cfortran/cfortran.h:133:3: error: #error "cfortran.h: Can't find your environment among: and then it lists a bunch of machines. I'll look into this a bit more. Perhaps the best plan would be to make Rnetcdf look for "udunits2" not the older version "udunits" that it tries for, presently. Steve Lianoglou-6 wrote: > > ... > -- View this message in context: http://www.nabble.com/problem-loading-ncdf-library-on-MAC-tp23195195p24943424.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.