[R] installing tree pkg on linux

Thomas Lumley tlumley at u.washington.edu
Sat Jul 7 01:27:43 CEST 2001


On Fri, 6 Jul 2001, Kevin Murphy wrote:

> I am having trouble installing the tree package on linux.
> I followed all the steps in section 5.2 of the FAQ
>
> http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html#How%20can%20add-on%20packages%20be%20installed%3f
>
> In particular, I typed 'R CMD INSTALL -l /home/cs/murphyk/R
> tree_1.0-2.tar.gz'. This created the files 'LibIndex', 'R.css' and a
> subdirectory called 'tree'.
>
> I then created a ~/.Renviron file with the line
> 'R_LIBS="/home/cs/murphyk/R"'.

The double quotes are the problem. R was looking in the directory
"/home/cs/murphyk/R"
not in
/home/cs/murphyk/R

This seems to be a bug in the FAQ.

Incidentally, Linux is, of course, infinitely superior in every way to any
other operating system :^), but installing precompiled binaries
under Windows is completely painless.  Both tree and rpart (which is now
a `recommended' part of the R distribution) are available as binaries.


	-thomas

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list