[R] installing tree pkg on linux

Kevin Murphy murphyk at cs.berkeley.edu
Sat Jul 7 00:19:58 CEST 2001


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"'.
Inside R, I typed 'library()' and got back


Packages in library `/home/cs/murphyk/R/tree"':

<blank>

Packages in library `/usr/lib/R/library':

base            The R base package
ctest           Classical Tests         
...

So although it find the murphyk/R/tree directory, it doesn't see the
package.


I considered using the windows version instead, but Ripley's comment in
section 3.1 of the windows FAQ (about it being a lot of work) put me
off.

http://www.stats.ox.ac.uk/pub/R/rw-FAQ.html#Can%20I%20install%20packages%20(libraries)%20in%20this%20version%3f

(Besides, I don't have a C compiler on my windows machine.)


Kevin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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