[R] Changing R_HOME

William Thompson thompson at wadsworth.org
Wed Feb 20 16:27:52 CET 2002


Wow! Is the response always that fast around here? Thanks to Prof. Ripley. 
Creating a local copy of the R script with the correct R_HOME_DIR path set along 
with changing the LD_LIBRARY_PATH environment variable to point to the library 
locations that R.bin needs does the trick.

Thanks again,
Bill

> Date: Wed, 20 Feb 2002 14:51:30 +0000 (GMT)
> From: Prof Brian D Ripley <ripley at stats.ox.ac.uk>
> To: William Thompson <thompson at wadsworth.org>
> Subject: Re: [R] Changing R_HOME
> MIME-Version: 1.0
> 
> On Wed, 20 Feb 2002, William Thompson wrote:
> 
> > I'm trying to run multiple simulations using R on a cluster of pentiums 
running
> > Solaris X86 by batching the R routines and simultaneously farming them out 
to
> > the cluster nodes. This works fine on some of the machines, but on others 
the
> > directory structure is mapped differently, so that when I try to run R, it 
can't
> > be found, I can get around this by running /net/mp1/space/local/bin/R which 
gets
> > me to R binary, but then I get the message: R_HOME (`/usr/local/lib/R') not
> > found. I tried setting the environment variable R_HOME to the proper library
> > location but then I get the message:
> > WARNING: ignoring environment value of R_HOME
> > R_HOME (`/usr/local/lib/R') not found
> >
> > I know the solution is to get the directory structure remapped, but that's 
not
> > going to happen soon because the sysadmin is out of town and he may have 
good
> > reasons for doing things the way he did. Is there some way to tell R to look
> > somewhere other than the default location for its libraries on startup? Any
> > clues or pointers would be appreciated.
> 
> Use a customized version of the script /usr/local/lib/R/bin/R with 
LD_LIBRARY_PATH
> set appropriately.
> 
> >
> > Thanks
> > Bill
> >
> > Bill Thompson, PhD
> > Computer Scientist
> > Wadsworth Center
> > NY State Dept of Health
> > ESP C-644
> > P.O. Box 509
> > Albany, NY  12201-0509
> > phone: (518) 486-7882
> >
> >
> > 
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> > 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
> > 
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> >
> 
> -- 
> Brian D. Ripley,                  ripley at stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272860 (secr)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> 

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