Re: [R] install R redhat rpm as a normal user

From: Marc Schwartz <>
Date: Fri 11 Mar 2005 - 02:21:17 EST

On Wed, 2005-03-09 at 16:17 -0800, Eric Hu wrote:
> Hi, I wonder if anyone has done this before. I have rpm-build
> installed in my workstation. Thanks.
> Eric

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:


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 mailing list PLEASE do read the posting guide! Received on Fri Mar 11 02:27:53 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:42 EST