Re: [R] Install R to local path?

From: Patrick Connolly <>
Date: Fri, 4 Jan 2008 08:45:15 +1300

On Wed, 02-Jan-2008 at 10:08PM +0100, Daniel Oberski wrote:

|> Dear all,
|> I am trying to install R on a (Linux Debian) machine where I do not
|> have root access. So far I succeeded in compiling from source and
|> running R.
|> But I would really like to be able to use "make install" and to be
|> able to install certain packages such as foreign. Now these actions
|> require permissions for directories that I do not have.
|> In particular I would like R home to be ~/bin/R, the libraries to
|> reside in ~/lib, and so on.

It's simple to make a link from ~/bin/R to the executable that the installation process creates. Even on a machine where I have root access, I prefer to do it that way. It's better than make install since it's simpler to use other versions of R (which will have a slightly different link). My ~/bin/ has links such as these:

R -> /usr/local/R-2.6.1/bin/R
R260 -> /usr/local/R-2.6.0/bin/R

Where you don't have root access, that won't be /usr/local/. Substitute where you have it.

No need to tinker with the configure script.


   ___    Patrick Connolly   
 {~._.~}          		 Great minds discuss ideas    
 _( Y )_  	  	        Middle minds discuss events 
(:_~*~_:) 	       		 Small minds discuss people  
 (_)-(_)  	                           ..... Anon

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 03 Jan 2008 - 19:48:30 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 04 Jan 2008 - 15:30:05 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive