cmdArgsToVariables: Create R variables from command line parameters

Description Usage Value Examples

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)


Search within the manta package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.