Learn R Programming

optigrab (version 0.9.2.1)

opt_split_args: Split command arguments

Description

Splits command argument vector to name, value pairs. This is an internal function and should generally not be called directly.

Usage

opt_split_args(opts = commandArgs())

Arguments

opts

character; vector of arguments. (Default: commandArgs())

opt_split_args splits and value containing an equal (=) sign

See Also

Examples

Run this code
# NOT RUN {
  optigrab:::opt_split_args()
  optigrab:::opt_split_args( opts=c( "--foo=hello", "-b=goodbye") ) 
  
# }

Run the code above in your browser using DataLab