Skip to content
Prev 85734 / 398506 Next

RHOME

R-help

My thanks goes out to all who responded to this. I am tying to avoid
burdening the sysadmin with this project so I opted for the simple fix of
modifying the shell script. My aim here is to build the libraries in my
local directory and copy those as needed to /usr/local/lib/R/library. I will
have to direct the sysadmin in the installation of future versions of R.

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


-----Original Message-----
From: Martyn Plummer [mailto:plummer at iarc.fr]
Sent: Friday, February 03, 2006 9:46 AM
To: Peter Dalgaard
Cc: Martin Maechler; Daniel A. Powers; r-help at stat.math.ethz.ch
Subject: Re: [R] RHOME


Far be it for me to tell people what they can and cannot do. Perhaps I
can rephrase myself in a less inflammatory way.

R runs from the build directory as a convenience for developers, so you
don't have to reinstall R every time you change something. But for
users, the standard mechanism "make install" has a number of advantages
over moving the build directory to a publicly accessible location: it is
guaranteed to work, you don't have to do any post-hoc editing of files,
it takes up a lot less space, about 4.6 times less on my system

[martyn at seurat r-devel]$ du -sh R
356M    R
[martyn at seurat r-devel]$ du -sh /usr/local/lib64/R
77M     /usr/local/lib64/R

But if you do want to copy the build directory the, as Martin says,
you can edit the file bin/R so that the line that starts
R_HOME_DIR points to the correct location, e.g.

R_HOME_DIR="/usr/local/lib/R"

M.
On Fri, 2006-02-03 at 14:48 +0100, Peter Dalgaard wrote:
I think this is normal. But the RedHat RPM behaves differently.

(because the RPM build process installs into a temporary build root
which is distinct from the final installation directory, requiring more
sed voodoo).
-----------------------------------------------------------------------
This message and its attachments are strictly confidential. ...{{dropped}}