R - Environment variable

Card Puncher Data Processing

Management

Get

# All
Sys.getenv()

# One
Sys.getenv("TMP")

# Several
Sys.getenv(c("R_HOME", "R_PAPERSIZE", "R_PRINTCMD", "HOST"))

Set

Sys.setenv(HOME="/usr/bla")

Unset

Sys.unsetenv("HOME")







Share this page:
Follow us:
Task Runner