From ripley@stats.ox.ac.uk  Fri Sep 24 19:53:07 1999
From: ripley@stats.ox.ac.uk (Prof Brian D Ripley)
Date: Fri, 24 Sep 1999 19:53:07 +0100 (BST)
Subject: R's startup : .Rprofile & .Renviron  -- info and RFC
In-Reply-To: <199909240858.KAA04862@sophie.ethz.ch>
Message-ID: <Pine.GSO.4.05.9909241949210.27899-100000@auk.stats>

On Fri, 24 Sep 1999, Martin Maechler wrote:

> 		[RFC = Request for Comments]
> 
> { Yes, the documentation for .Renviron is really not there (but the FAQ...);
>   the rest is in ?Startup }
> 
> In R's Startup (on Unix only??) {unless --no-environ is specified}
>  ~/.Renviron (if there) is read as an 'sh' script before R is called,
> 
> then R looks ((for the site-wide Rprofile and then))
> for .Rprofile in the current directory and then for ~/.Rprofile
> (in the user's home directory).
> 
> I'd like to set R_NSIZE and R_VSIZE ``project dependent'' automatically,
> and therefore would like  .Renviron also searched in the currenct directory
> before the $HOME directory.
> (setting --nsize or --vsize explicitly would always override as they
> should).
> 
> Is this desired?  

It seems done on Unix, so now on Windows too, if not committed yet.

You had been worried, but all the info is in the Windows README. However,
I had got HOMEDRIVE as HOMEDIR, so thank you getting me to re-read it!

Brian

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


R's startup : .Rprofile & .Renviron -- info and RFC
Prof Brian D Ripley