[R] Another failed attempt to install an R package in Ubuntu

From: Miklos Kiss <mzkiss_at_gmail.com>
Date: Fri, 11 Jul 2008 20:32:32 -0700 (PDT)

I am running Ubuntu 8.04 through Wubi on a HP Pavilion dv4000 (my home computer) and I recently installed R 2.7.1. I attempted to install the randomForest package from within the R environment and from the Linux terminal. Both attempts failed. I've tried several mirrors but with no luck. Below is an example of the series of error messages I got when R told me that the installation wasn't going well.

It tells me that several header files are missing. For some reason it is also trying to install them in '/home/mik/R/i486-pc-linux-gnu-library/2.7' but my R library packages are located in '/usr/lib/R/library'. I tried downloading various x11dev packages and such, as suggested in similar threads in this forum, but that didn't seem to help.

I'm really new (installed Ubuntu less than 4 months ago) to Linux but I've been using R for about a year. If anyone can point me in the right direction on how to correctly install this package, I'd very much appreciate it.

Thank you,
Miklos Kiss

--- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ... done
Warning in install.packages() :
  argument 'lib' is missing: using
'/home/mik/R/i486-pc-linux-gnu-library/2.7' trying URL 'http://cran.mtu.edu/src/contrib/randomForest_4.5-25.tar.gz' Content type 'application/x-gzip' length 70212 bytes (68 Kb) opened URL

downloaded 68 Kb

The downloaded packages are in

Warning message:
In install.packages() :
  installation of package 'randomForest' had non-zero exit status

View this message in context: http://www.nabble.com/Another-failed-attempt-to-install-an-R-package-in-Ubuntu-tp18415721p18415721.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 12 Jul 2008 - 04:37:20 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 13 Jul 2008 - 05:32:04 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