Last data update: 2014.03.03
|
R: Create R variables from command line parameters
cmdArgsToVariables | R Documentation |
Create R variables from command line parameters
Description
Take the names of the variables specified on the R CMD BATCH call and turn them into R variables
Assign the values after '=' to these variables.
Usage
cmdArgsToVariables()
Value
variable(s) stored in memory
Examples
## Not run:
## R CMD BATCH --some.variable=testing
cmdArgsToVariables()
print(some.variable)
#> 'testing'
## End(Not run)
Results
|