[R] reading .Rprofile at startup in R 2.0.0
Mike.Prager at noaa.gov
Sat Nov 6 17:15:24 CET 2004
You wouldn't find info on setting environment variables in the R FAQ
because environment variables are an operating system feature. Under
recent versions of Windows, environment variables are stored in the
Registry and can be set persistently through a dialog. In Windows XP, this
is found under My Computer; Properties; Advanced; Environment Variables. I
would set a User, rather than System, variable; it matters only if more
than one user on your PC is making use of R and they want different profiles.
As you say, unless you are familiar with this, it could be easier just to
move the file. The advantage of using an environment variable is that you
can put the file where YOU want it. To most folks, that is a non-issue.
Some of us however are determined to bend computers to our wills, rather
than the other way around. We frequently fail but keep trying.
At 10:38 AM 11/06/2004, H Patrick Giraudoux wrote:
>Thanks for the hint. Having got through the "CHANGES" file as advised by
>Pr Ripley (I unfortunately checked first the "NEWS" file and forgot that
>one..) I found it may be more simple (to me) to put the .RProfile file
>into the "my documents" directory. It works fine now. Setting environment
>variables is probably easy when one knows exactly which file to manage
>with and where it is... which is not the case to me yet (even after having
>read carefully the rw-FAQ 2.13).
>All the best,
>A 09:39 06/11/2004 -0500, vous avez Ã©crit :
>>Consider setting the environment variable R_USER="c:\Documents and
>>At 08:55 AM 11/06/2004, you wrote:
>>>Moving from R 1.9.1 to R 2.0.0 today, it happens that the "traditional"
>>>.RProfile (located in my home directory: C:\Documents and
>>>Settings\Giraudoux) is not read at startup with R 2.0.
>>Michael Prager, Ph.D. <Mike.Prager at noaa.gov>
>>NOAA Beaufort Laboratory
>>Beaufort, North Carolina 28516
>R-help at stat.math.ethz.ch mailing list
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Michael Prager, Ph.D. <Mike.Prager at noaa.gov>
NOAA Beaufort Laboratory
Beaufort, North Carolina 28516
More information about the R-help