Re: [R] installing ncdf on Ubuntu 10.04

From: Thomas Lumley <tlumley_at_uw.edu>
Date: Mon, 04 Apr 2011 09:02:02 +1200

On Mon, Apr 4, 2011 at 6:35 AM, Steve Friedman <friedman.steve_at_gmail.com> wrote:
> Hello
>
> I'm trying to install the "ncdf" package on a Ubuntu 10.04 laptop.
>
> Can you offer suggestions to install this package?

<snip>

> checking for netcdf.h... no
> configure: error: netcdf header netcdf.h not found
> ERROR: configuration failed for package ‘ncdf’
> * removing ‘/home/steve/R/i486-pc-linux-gnu-library/2.12/ncdf’

Looks like you need the netCDF libraries. https://launchpad.net/ubuntu/+source/netcdf suggests that you need both the binary and a -dev package with headers.

The ncdf binaries on Windows and Mac have been specially built to include the netCDF libraries, but the source package doesn't include them.

      -thomas

-- 
Thomas Lumley
Professor of Biostatistics
University of Auckland

______________________________________________
R-help_at_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.
Received on Sun 03 Apr 2011 - 21:05:22 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 03 Apr 2011 - 21:10:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive