Gets an R Option or an Environment Variable
Gets an R Option or an Environment Variable
getOptionOrEnvVar(name, default = NULL, envvar = NULL)
name |
(character string) The name of the R option. |
default |
(a single object) The value to be returned if neither
the R option nor the environment variable is set. If the environment
variable is set, its value is coerced to the same type as |
envvar |
(character string) The name of the environment variable.
If not set, or NULL, then the name is automatically constructed from
the upper-case version of argument |
Returns an object.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.