Skip to content

Can one set --no-save in .Rprofile

1 message · Brian Ripley

#
read,
Yes, it is, and one needs a precedence anyway.  Remember that R
comes with half a dozen front-ends and three major groups of OSes.

The logic is 

1) The front-ends set some internal variables, usually via flags, and set
some environment variables via parsing .Renviron.

2) Then the R parser is started, and reads .Rprofile.  On most
platform that reads some environment variables to set defaults.

3) Eventually a prompt appears

with lots of things in the gaps.  It is not at all easy to go backwards
in the sequence.  After all, one platform (Mac) does not even have
environment variables.

Brian