[R] problem configuring package udunits

From: Bradley Christoffersen <bradleychristo_at_hotmail.com>
Date: Sun, 11 May 2008 21:19:55 -0500

Hi R Users,

I am new to running R on a Linux platform (I'm used to Windows) - I'm running R 2.7.0 on Ubuntu 7.10 (Gutsy) as sudo (without Emacs). My architecture is Pentium D (x86_64).

I am having problems successsfully configuring the downloaded package 'udunits'.  When I execute

> install.packages("udunits", lib="/usr/local/lib/R/library")

I get the following result:

trying URL 'http://cran.cnr.Berkeley.edu/src/contrib/udunits_1.3.tar.gz' Content type 'application/x-gzip' length 29985 bytes (29 Kb) opened URL



downloaded 29 Kb

The downloaded packages are in

        /tmp/RtmpmhqM2D/downloaded_packages Updating HTML index of packages in '.Library' Warning message:
In install.packages("udunits", lib = "/usr/local/lib/R/library") :   installation of package 'udunits' had non-zero exit status

I have tried downloading the package manually and running ./configure, but with the same result. As the error message suggested, I looked at the file udunits_1.0/udunits/src/Makevars.in, (contents below), but am not sure what to modify.

##PKG_CPPFLAGS=-I/path/to/udunits/header ##PKG_LIBS=-L/path/to/udunits/lib -ludunits

PKG_LIBS=-L_at_UDUNITS_LIBDIR@ -l_at_UDUNITS_LIBNAME@ PKG_CPPFLAGS=-I_at_UDUNITS_INCDIR@ [[elided Hotmail spam]]
Brad



Get Free (PRODUCT) REDô Emoticons, Winks and Display Pics.

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 Mon 12 May 2008 - 02:34:34 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 Mon 12 May 2008 - 09:30:37 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