R's startup : .Rprofile & .Renviron -- info and RFC

About this list Date view Thread view Subject view Author view Other groups

Subject: R's startup : .Rprofile & .Renviron -- info and RFC
From: Martin Maechler (maechler@stat.math.ethz.ch)
Date: Fri 24 Sep 1999 - 18:58:46 EST


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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:08 EST