Skip to content

install R redhat rpm as a normal user

3 messages · Eric Hu, Marc Schwartz

#
Hi, I wonder if anyone has done this before. I have rpm-build
installed in my workstation. Thanks.

Eric
#
On Wed, 2005-03-09 at 16:17 -0800, Eric Hu wrote:
I have not seen any other replies to this, but as far as I know Martyn's
RPMS are not relocatable and a test this morning confirms that.

If you need to install R as a non-root user, you are likely better off
installing from source code. Modify the "--prefix" argument
to ./configure as per the R Administration Manual. For example:

  ./configure --prefix="TargetDir"

where TargetDir is a directory that you have write privileges to.

Then use "make" and "make install" which will then build and install R.

R will be installed in TargetDir (ie. "/home/UserName/R") with a set of
subdirs bin, lib and man. To run R, you would then use:

  TargetDir/bin/R

Or you can create a symlink in /home/UserName/bin to the above file and
then just use "R" to start it.

See the R Administration Manual for more information.

HTH,

Marc Schwartz
#
Thank you all.

Best,
Eric
On Mar 10, 2005, at 7:21 AM, Marc Schwartz wrote: