[R] installing R on RedHat

Marc Schwartz MSchwartz at mn.rr.com
Wed Jun 28 06:01:06 CEST 2006

On Tue, 2006-06-27 at 22:18 -0500, Erin Hodgess wrote:
> Dear R People:
> Yet again, I am attempting to install R on RedHat Linux.
> Here is my sorry attempt to date:
> [hodgess at gator hodgess]$ rpm -vi R.rpm
> warning: R.rpm: V3 DSA signature: NOKEY, key ID 97d3544e
> error: cannot write to %sourcedir /usr/src/redhat/SOURCES
> I only want to write it to my own userid, since I am the only one
> who uses it.
> Any suggestions would be much appreciated.


As far as I know, the R RPMS provide either by Martyn Plummer et al on
CRAN, or more recently via Fedora Extras, are generally not

In other words, they must be installed as root into a pre-defined

I checked the list archive and this had come up last year:


and I don't know that this has changed.

If you need to install only as a local user, you will likely need to do
so from source as I referenced in the above thread. See the R-admin
manual for more information on how to configure for this.

More generally, if you have root access on your system, the default on
Linux is to install using system-wide configurations, not per user, even
if you are the only user.

User specific installation is generally only used if you need to install
something and do not have root access.


Marc Schwartz

More information about the R-help mailing list