[R] programmatic installation

About this list Date view Thread view Subject view Author view Attachment view

From: A.J. Rossini (rossini@blindglobe.net)
Date: Thu 11 Apr 2002 - 09:50:17 EST


Message-id: <87u1qjyuyu.fsf@jeeves.blindglobe.net>


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@u.washington.edu	
FHCRC/SCHARP/HIV Vaccine Trials Net	rossini@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@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Wed 16 Oct 2002 - 11:57:11 EST