Sys.putenv | R Documentation |
Sys.putenv()
sets environment variables (for other processes called
from within R or future calls to \codelink3baseSys.getenv() from this
R process).
Sys.putenv(x)
x |
a character vector, or an object coercible to character. Strings
must be of the form
|
A logical vector, with elements being true if setting the corresponding variable succeeded.
3baseSys.setenv()
Sys.putenv(c("R_TEST=testit", "A+C=123"))
Sys.getenv("R_TEST")
Sys.unsetenv("R_TEST") ## under Unix-alikes may warn and not succeed
Sys.getenv("R_TEST", unset = NA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.