Closed HenrikBengtsson closed 7 years ago
R_DEFAULT_PACKAGES
R_LIBS_USER
can be set in .Rprofile
but not later.
Another example is
OMP_NUM_THREADS
, cf. http://heather.cs.ucdavis.edu/~matloff/rth.htmlAnother environment variable that is utilized only early on in the R startup processes and that can not be updated later is
R_MAX_NUM_DLLS
.
The following should be added to a Section "Known limitations" in README:
TMPDIR
to controltempdir()
may be set inmust be set prior to launching R. For instance, using.Renviron
but not "later"Sys.setenv(TMPDIR="/path/to")
in.Rprofile
won't work. This also means that it does not work to set in~/.Renviron.d/tempdir
thatstartup::startup()
processes.