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.

HTH

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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to