[R] programmatic installation

A.J. Rossini rossini at blindglobe.net
Thu Apr 11 01:50:17 CEST 2002


Okay, so I've got a set of directories containing unpacked R packages
(unpacked, since for various sensible reasons, I'm editing them in warped
ways). 

Supposing that these are in:

        /home/rossini/Runpacked

I thought I could do something like:

install.packages("MyUnPackedRPackage",   # top package name
                 lib="/home/rossini/lib/R", # where I'd like to install
                 destdir="/home/faculty/rossini/sandbox/madman/Rpacks") ## assuming
                                        ## this is where it goes.

But this isn't the right incantation.  I know that I could simply
shell out using system, i.e. system("R CMD install /path/to/dir"), 
but is there a cleaner way?

best,
-tony

-- 
A.J. Rossini				Rsrch. Asst. Prof. of Biostatistics
U. of Washington Biostatistics		rossini at u.washington.edu	
FHCRC/SCHARP/HIV Vaccine Trials Net	rossini at scharp.org
-------------- http://software.biostat.washington.edu/ ----------------
FHCRC: M-W: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
UW:   Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
(my friday location is usually completely unpredictable.)


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