arg_parser | R Documentation |
This function creates an arg.parser
object. It infers the program
name from the file name of the invoked script.
arg_parser(description, name = NULL, hide.opts = FALSE)
description |
description of the program |
name |
name of the program |
hide.opts |
hide the |
The argument parser will be created by default with two arguments:
--help
and --opts
. The latter argument can be used for
loading a list of argument values that are saved in a RDS file.
a new arg.parser
object
p <- arg_parser("A test program")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.