| EnvVar {base} | R Documentation |
Details of some of the environment variables which affect an R session.
It is impossible to list all the environment variables which can affect an R session: some affect the OS system functions which R uses, and others will affect add-on packages. But here are notes on some of the more important ones. Those that set the defaults for options are consulted only at startup (as are some of the others).
Sys.getlocale. Consulted at startup.options("browser").FALSE,
command-line completion is not used. (Not used by Mac OS GUI.)options.dvips. Defaults to
the value of DVIPS, and if that is unset to a value
determined when R was built.
Used by R CMD Rd2dvi, and at startup to set the default for
options("latexcmd"), used by
help(offline = TRUE).
dev2bitmap.readline command-line interface it takes effect
when the history is saved (by savehistory or at the
end of a session).
R.home. Set by R.latex. Defaults to
the value of LATEX, and if that is unset to a value
determined when R was built.
Used by R CMD Rd2dvi, and at startup to set the default for
options("latexcmd"), used by
help(offline = TRUE).
.libPaths..libPaths..libPaths.makeindex.
Defaults at startup to the value of MAKEINDEX, and if that
is unset to a value determined when R was built.
Used by R CMD Rd2dvi.options("papersize"), e.g. used by
pdf, postscript and
help(offline = TRUE).pdflatex.
Defaults at startup to the value of PDFLATEX, and if that
is unset to a value determined when R was built.
Used by R CMD Rd2dvi.R CMD Rd2dvi.cpu-vendor-os, see R.Version.latex processing of
Rd files.
Used by R CMD Rd2dvi and
help(offline = TRUE).pdflatex processing of
Rd files.
Used by R CMD Rd2dvi.texi2dvi.
Defaults to the value of TEXI2DVI, and if that is unset to a
value determined when R was built.
Consulted at startup to set the default for
options("texi2dvi"), used by
texi2dvi in package tools.
unzip. Sets the
default value for options("unzip").zip.tempdir.Sys.timezone for the system-specific
formats. Consulted as needed.download.file:
see its help for further details.Some variables set on Unix-alikes, and not (in general) on Windows.
X11, Tk (in
package tcltk), the data editor and various packages.options("printcmd"), which sets the default print
command to be used by postscript.
Sys.getenv and Sys.setenv to read and set
environmental variables in an R session.