From Martin Maechler <maechler@stat.math.ethz.ch>  Fri Sep 24 09:58:46 1999
From: Martin Maechler <maechler@stat.math.ethz.ch> (Martin Maechler)
Date: Fri, 24 Sep 1999 10:58:46 +0200
Subject: R's startup : .Rprofile & .Renviron  -- info and RFC
Message-ID: <199909240858.KAA04862@sophie.ethz.ch>

		[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?  

Is is portable (at least) to Windows?
In the windows FAQ I've learnt that you must set the command line
arguments --nsize ..  when defining a shortcut to the R executable
in the corresponding directory (correct?).
Is this *the* windows way or does is make sense to have .Renviron files
($HOME would only be used on NT, I presume ?
	-- yes, I am a complete ``Wingnorant'' !)

Martin Maechler <maechler@stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO D10	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
Martin Maechler