I would like to use the R packages RNetCDF and ncdf in Ubuntu.
When I try install.packages(\'RNetCDF\') or install.packages(\'ncdf\'), I ge
install.packages(\'RNetCDF\')
install.packages(\'ncdf\')
Just to clarify, since your initial issue is in R, and the fix is applied outside of R. I initially was trying to do
install.packages("libnetcdf-dev"), which didn't work.
instead, from outside of R: sudo apt-get install libnetcdf-dev
That fixed it for me.