I just installed ncdf package on OS X 10.4.3 with netcdf-3.6.0-p1 and R-2.2.0. The following change was needed in ncdf/src/ncdf3.c -#include <values.h> +#include <limits.h> -- George Ostrouchov Statistics and Data Sciences Group Computer Science and Mathematics Division Oak Ridge National Laboratory http://www.csm.ornl.gov/~ost