[R] Installing randomForest on Ubuntu Errors
Liaw, Andy
andy_liaw at merck.com
Mon May 10 14:39:56 CEST 2010
I don't know much about how permissions are managed under ubuntu, but
you can try a couple of things:
- Dirk had worked very hard at automating building of CRAN packages for
Debian (from which Ubuntu is based). I believe randomForest is among
one of those available. I'm not sure if you need to set up special
respository, but the idea is that you should be able to install R
packages via apt-get.
- Try installing in your home directory and see if that works: Make a
directory under your home directory, e.g., called "Rlibs". Then in R,
do install.packages("randomForest", lib.loc="~/Rlibs", depend=TRUE). If
that works, then your original problem is likely caused by permission.
Andy
From: Steve_Friedman at nps.gov
>
> Hello,
>
> I've tried to install randomForest on a Ubuntu 8.04 Hardy
> Heron system.
>
> I've repeatedly rec'd the error:
>
> > install.packages("randomForest", dependencies = TRUE)
>
> ERROR: compiliation failed for package 'randomForest'
> ** Removing
> '/home/admuser/R/i486-pc-linux-gnu-library/2.6/randomForest'
>
> The downloaded packages are in
> /tmp/RtmpkDsmTK/downloaded_packages
> Warning message:
> In install.packages("randomForest"", dependencies = TRUE) :
> installation of package 'randomForest' had a non-zero exit status
>
> >
>
> The package loads correctly on my windows box, but not on the
> linux side.
>
> Is this package available for Ubuntu Linux, if so what should
> I do to install it?
>
> Thanks
>
> Steve
>
>
> Steve Friedman Ph. D.
> Spatial Statistical Analyst
> Everglades and Dry Tortugas National Park 950 N Krome Ave
> (3rd Floor) Homestead, Florida 33034
>
> Steve_Friedman at nps.gov
> Office (305) 224 - 4282
> Fax (305) 224 - 4147
>
> ______________________________________________
> 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.
>
Notice: This e-mail message, together with any attachme...{{dropped:11}}
More information about the R-help
mailing list