parse.args | R Documentation |
Parse any series of arguments into an environment using an argument parser.
## S4 method for signature 'essentials_ArgumentParser'
parse.args(args = Args(),
warnPartialMatchArgs = getOption("warnPartialMatchArgs", FALSE))
args |
character vector. The arguments to parse into an environment. |
warnPartialMatchArgs |
logical. If true, warns if partial matching is used in argument matching. |
When args
is not provided, the arguments are provided from
commandArgs()
, but only if the executing script was run
from the command-line / / terminal.
an object of class "ParsedCommandArgs
".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.