cmdArgsToVariables: Create R variables from command line parameters

Description Usage Value Examples

View source: R/Util.R

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

1

Value

variable(s) stored in memory

Examples

1
2
3
4
5
6
7
## Not run: 
## R CMD BATCH --some.variable=testing
cmdArgsToVariables() 
print(some.variable)
#> 'testing'

## End(Not run)

armbrustlab/manta documentation built on Dec. 17, 2019, 12:06 a.m.