env.sub | R Documentation |
Perform environment variable substitution on a character string
env.sub(x)
x |
character string of length 1 |
Performs shell-like substitution of environment variables in a character string. Expects variable syntax in the Unix format: $MY_VAR
Undefined variable names are left unexpanded.
a character string with all '$' escaped environment variables replaced by their value
Sys.getenv
file.info ( env.sub( "${HOME}/.Rprofile"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.