I\'m trying to install the r package ncdf on an Ubuntu 10.04 server:
install.packages(\"ncdf\", type = \"source\")
Installing package into ‘/hom
You need to look at the configure.in script to see exactly what it tests for. Maybe it is expecting netcdf.h in a subdirectory rather than directly in /usr/include.
I think I have built this in the past. I could take another look later.
Without downloading source, you just need to set some environment variables. For me, this was
export NETCDF_INCLUDE=/usr/include
After doing this, install.packages("ncdf") worked.
This is described in the INSTALL file.