Command-Line Parsing for an R World
GNU-style command line options
Determine if/which vector element are options flags
Java-style command line options
Microsoft-style command line options
Parse options and assign values
Expand opts to full vector
opt_fill
Get option's values from the command-line
Return arguments to Rscript
Get path current running script
Get verb from the command line
Automatic usage/help information
Split command arguments
Get or set the optigrab style
Optigrab
Split a string bases on whitespace
this_file
Parse options from the command-line using a simple, clean syntax. It requires little or no specification and supports short and long options, GNU-, Java- or Microsoft- style syntaxes, verb commands and more.
Useful links