Re: [R] R Compilation error on Ubuntu

From: Takatsugu Kobayashi <tkobayas_at_indiana.edu>
Date: Mon, 24 Dec 2007 13:52:11 -0500


Hi

I bought a new laptop HP dv9500 just a week ago and installed a Ubuntu gutsy ribbon on this laptop. I wanted to install Fedora but there are more threads on Ubuntu, so I decided to install Ubuntu. After hours of struggle in configuring x server/graphic card stuff, I installed R for Gutsy ribbon using "sudo apt-get install g77 r-core'.

Now when I tried to install 'sp' package I got this error message:

Warning in install.packages("sp") : argument 'lib' is missing: using '/usr/local/lib/R/site-library'
--- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ... done
trying URL '
http://cran.mtu.edu/src/contrib/sp_0.9-17.tar.gz' Content type 'application/x-gzip' length 359194 bytes opened URL



downloaded 350Kb

The downloaded packages are in

        /tmp/RtmpfOk3H7/downloaded_packages Warning message:
installation of package 'sp' had non-zero exit status in: install.packages("sp")

Then, I removed this gutsy ribbon version of R and attempted to install fresh R-2.6.1.tar.gz. When I tried to build it, I got this error message:

configure: error: --with-readline=yes (default) and headers/libs are not available

I installed xserver-xorg-dev ok.

I am using Fedora 6 on my desktop and have never seen these above error messages. Should I install a Fedora and R on it? Or should I just create a link using 'ln -s'?

I appreciate your help.

Have a festive holiday!

taka



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 24 Dec 2007 - 18:57:25 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 24 Dec 2007 - 21:30:20 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.