Learn R Programming

manta (version 1.18.0)

cmdArgsToVariables: 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()

Arguments

Value

variable(s) stored in memory

Examples

Run this code

## Not run: 
# ## R CMD BATCH --some.variable=testing
# cmdArgsToVariables() 
# print(some.variable)
# #> 'testing'
# ## End(Not run)

Run the code above in your browser using DataLab