Jim Lindsey (
Mon, 22 Jun 1998 13:13:28 +0200 (MET DST)

From: Jim Lindsey <>
Message-Id: <>
Subject: Re: R-beta: INSTALL -- "RPROFILE"
Date: Mon, 22 Jun 1998 13:13:28 +0200 (MET DST)
In-Reply-To: <> from "Martin Maechler" at Jun 19, 98 10:17:07 pm

> This is from the R-FAQ:
>      In R, the startup mechanism is as follows.  R first searches for the
>      site-wide startup profile unless the command line option
>      `--no-site-file' was given.  The name of this file is taken from the
>      value of the `RPROFILE' environment variable.  If that variable is
>      unset, the default is ``$RHOME'/etc/Rprofile'.  Then, unless
>      `--no-init-file' was given, R searches for a file called `.Rprofile'
>      in the current directory or in the user's home directory (in that
>      order) and sources it.  It also loads a saved image from `.RData' in
>      case there is one (unless `--no-restore' was specified).  If needed,
>      the functions `.First()' and `.Last()' should be defined in the
>      appropriate startup profiles.
> I.e., if you want a ``global Rprofile'', then use the RPROFILE variable:

This is not the way my version of R62 is functioning. I am using the
default installation except that I slightly modified Rprofile in the
library/base/R directory as my site file (as I do with each new
version). It is definitely reading this file (as it did in R61) and
not the etc/Rprofile mentioned in the faq (I have not checked if the
latter even exists). When I reinstall the base library, my
modifications are overwritten. I have not set the environmental
variable because up until now no environmental variables have ever
worked for me (eg for -v and -n) in previous versions of R.

PS I am getting some rather strange errors in R62 but have not yet
been able to track them down as reproducible: stack overflow when I
assign a class to a matrix, errors about wrong tags for every
instruction I type so that I have to leave R. If I can find
reproducible examples I shall report them.
r-help mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: