R - Environment variable

> Procedural Languages > R

1 - Management

1.1 - Get

# All
Sys.getenv()
 
# One
Sys.getenv("TMP")
 
# Several
Sys.getenv(c("R_HOME", "R_PAPERSIZE", "R_PRINTCMD", "HOST"))
Advertising

1.2 - Set

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

1.3 - Unset

Sys.unsetenv("HOME")
lang/r/env.txt ยท Last modified: 2018/04/25 15:31 by gerardnico