On 3 October 2006 at 11:19, Leeds, Mark \(IED\) wrote:
| Thanks to Peter Dalgaard , I have made some decent progress as far as
| getting R to work in linux .  I just want to set my environment variable
| R_LIBS to /u/etlfs/dev/users/leedsmar/R/library ( in linux ) so that I
| can install specific packages.  Does anyone know the syntax and in which
| file I set this variable ( .Rprofile etc ). 
| I've looked in the installation manual ( i'm mainly on pg 14 ) but I
| can't find the answers to these 2 questions. thanks.

See '?Startup', you want ~/.Renviron

~> cat ~/.Renviron
R_LIBS="~/R/site-library:/usr/lib/R/site-library"

This really is all documented.... Googling for 'Setting R_LIBS' gets several
hundreds hit, maybe you could try that ...

Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison

______________________________________________
[email protected] 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