[R] Environment variables under Windows

John Miyamoto jmiyamot at u.washington.edu
Thu Oct 10 09:42:22 CEST 2002


Greetings,

I have a question pertaining to the concept of "environment variables"
that is mentioned in the R documentation for "Startup" and also in the
discussion of the Windows configuration of R in the recent book "An
Introduction to R" authored by Venables, Smith, and the R Development Core
Team (referred to as VS in this message).

The Startup documentation and VS make reference to environment variables,
e.g., R\_ENVIRON, R_USER, or R\_PROFILE.  Apparently the R startup
procedure operates differently depending on whether these variables are
"set" or "unset".  What is unclear to me is how to set these variables.

For example, is something to be done with the AUTOEXEC.BAT file or the
CONFIG.SYS file, or perhaps one must alter the Properties of the shortcut
icon for R?  Another possibility is that one must insert some lines in the
RProfile file.  On my installation I have two files names RProfile.  The
first is in the directory \rw1041\etc, and the second is in the directory,
\rw1041\library\base\R.  Does one "set" an environment variable by placing
an appropriate line in a RProfile file?

John

--------------------------------------------------------------------
John Miyamoto, Dept. of Psychology, Box 351525
University of Washington, Seattle, WA 98195-1525
Phone 206-543-0805, Fax 206-685-3157, Email jmiyamot at u.washington.edu
Homepage http://faculty.washington.edu/jmiyamot/
--------------------------------------------------------------------


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list