Skip to content
Back to formatted view

Raw Message

Message-ID: <20080311192348.GB4417@slingshot.co.nz>
Date: 2008-03-11T19:23:48Z
From: Patrick Connolly
Subject: How to specify where add-on packages should be installed
In-Reply-To: <462b7fdd0803110751t73592aaew37226d8d720b796e@mail.gmail.com>

On Tue, 11-Mar-2008 at 10:51PM +0800, Ng Stanley wrote:

|> Hi,
|> 
|> I am running R on a cluster. Basic packages are installed at
|> ~/MyHome/lib64/R/library/ and add-ons packages are installed at
|> ~/R/x86_64-redhat-linux-gnu-library/2.5/. Both directories were created by R
|> by default.
|> 
|> Problems arises when I use add-on packages, R complains that they can't be
|> found and exit. As a hack, I copied the add-on packages to where basic
|> packages are installed.
|> 
|> Questions:
|> A) Can I specify where the add-on packages should be installed, and how ? I
|> would like to install them at where the basic packages are.

Do you have an environment setting for R_LIBS?  I use that to put them
in a *different* place from where the basic packages go, so my guess
is that if you set that variable to be the same, that would do what
you want.

HTH

-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}          		 Great minds discuss ideas    
 _( Y )_  	  	        Middle minds discuss events 
(:_~*~_:) 	       		 Small minds discuss people  
 (_)-(_)  	                           ..... Anon
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.