R-help -- I built R-2.2.1 in my own directory on a sun (solaris). Now I would like the sysadmin to move the contents to /usr/local/lib and place the binary in /usr/local/bin. No problem. However, the RHOME variable defaults to the directory from which R was built so it is not usable by anyone but me or ROOT. I would like to avoid building this again if possible. Any ideas? Thanks, Dan =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Daniel A. Powers, Ph.D. Department of Sociology University of Texas at Austin 1 University Station A1700 Austin, TX 78712-0118 phone: 512-232-6335 fax: 512-471-1748 dpowers at mail.la.utexas.edu
Quoting "Daniel A. Powers" <dpowers at mail.la.utexas.edu>:> > R-help -- > > I built R-2.2.1 in my own directory on a sun (solaris). Now I would like > the sysadmin to move the contents to /usr/local/lib and place the binary > in /usr/local/bin. No problem. However, the RHOME variable defaults to > the directory from which R was built so it is not usable by anyone but me > or ROOT. I would like to avoid building this again if possible. Any ideas? > > Thanks, > DanR is designed to run from its build directory. But if your sysadmin installs it with "make install" (as root), then the shell wrapper that is installed in /usr/local/bin/R will have R_HOME pointing to the right location (/usr/local/lib/R). Literally moving the build directory to another location is the wrong thing to do. ----------------------------------------------------------------------- This message and its attachments are strictly confidential. ...{{dropped}}
Thanks -- I was trying not to burden the sysadmin with this task, but it seems that it should be done right. Cheers, Dan =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Daniel A. Powers, Ph.D. Department of Sociology University of Texas at Austin 1 University Station A1700 Austin, TX 78712-0118 phone: 512-232-6335 fax: 512-471-1748 dpowers at mail.la.utexas.edu On Thu, 2 Feb 2006 plummer at iarc.fr wrote:> Quoting "Daniel A. Powers" <dpowers at mail.la.utexas.edu>: > > > > > R-help -- > > > > I built R-2.2.1 in my own directory on a sun (solaris). Now I would like > > the sysadmin to move the contents to /usr/local/lib and place the binary > > in /usr/local/bin. No problem. However, the RHOME variable defaults to > > the directory from which R was built so it is not usable by anyone but me > > or ROOT. I would like to avoid building this again if possible. Any ideas? > > > > Thanks, > > Dan > > R is designed to run from its build directory. But if your sysadmin installs it > with "make install" (as root), then the shell wrapper that is installed in > /usr/local/bin/R will have R_HOME pointing to the right location > (/usr/local/lib/R). Literally moving the build directory to another location > is the wrong thing to do. > ----------------------------------------------------------------------- > This message and its attachments are strictly confidential...{{dropped}}
Reasonably Related Threads
- R: error while loading shared libraries: libg2c.so.o
- The Environment variables settings in bin/R, why do they ignore environment variables of the same name?
- R_DOC_DIR on EL6
- how to exclude some packages from help.search() ?
- R CMD INSTALL and file permission settings