[R] Installing add on packages

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Thu Jun 1 00:45:30 CEST 2000


Douglas Bates <bates at stat.wisc.edu> writes:

> The call to R INSTALL would look like
> 
> R INSTALL /usr/apps/tree -l ~/.Rlibs
> 
> or something like that.
> 
> Note that with recent versions of R you do not need to expand the tar
> file.  You can give the name of the tar file to the INSTALL command.

Or, from inside R, directly from CRAN:

  install.packages('tree', '~/.Rlibs')

Omitting the 2nd argument causes the routine to issue a warning and
try to install in the system package location, which is often what you
want, provided you have the required write access.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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