From ligges at statistik.tu-dortmund.de  Mon Feb 22 17:10:50 2010
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Mon, 22 Feb 2010 17:10:50 +0100
Subject: [Rd] Where does install.R go when R gets compiled? Or,
 how to 	experiment with changes to install.R?
In-Reply-To: <13e802631002191504n349f30b1g43e5bec088a94998@mail.gmail.com>
References: <13e802631002180933g5dcccbc9ie404e45999059282@mail.gmail.com>	<20100218202031.GA11744@trex.cs.uni-magdeburg.de>
	<13e802631002191504n349f30b1g43e5bec088a94998@mail.gmail.com>
Message-ID: <4B82AC8A.8040909@statistik.tu-dortmund.de>



On 20.02.2010 00:04, Paul Johnson wrote:
> On Thu, Feb 18, 2010 at 2:20 PM, Jens Elkner<jel+r at cs.uni-magdeburg.de>  wrote:
>> On Thu, Feb 18, 2010 at 11:33:14AM -0600, Paul Johnson wrote:
>>> I'm pursuing an experiment to make RPM files for R packages
>>> on-the-fly. Any time I install an R package successfully, I want to
>>> wrap up those files in an RPM.   Basically, the idea is to "hack" an
>>> option similar to --build for R CMD INSTALL.
>>
>> Hmm, why not take the easy way:
>>
>>     clean_dst $PROTO
>>     cd $TMPBUILD
>>     mkdir -p $PROTO/R/library
>>     $R_HOME/bin/R CMD INSTALL -l $PROTO/R/library $TMPBUILD
>>
> Yes, I've been there, done that.
>
> I have to administer this on 60 servers in a cluster.  I don't want to
> rebuild all packages on all systems. If I can figure a way to create
> RPM for them, I can script the RPM installs and then I'm sure all the
> systems are identical.
>
> In the worst case scenario, I just have to copy the library tree from
> one machine to another.  But the RPM approach has a bit more built-in
> error checking.
>
> pj


Paul,

beside the already answered parts: in general I'd try to read from some 
network space so that I'd had to make only 1 installation which is also 
useful for easier upgrades and parallel execution where you need 
identical doftware on all nodes.

Best,
Uwe



[Rd] Where does install.R go when R gets compiled? Or, how to experiment with changes to install.R?
Uwe Ligges