argparse: Command Line Optional and Positional Argument Parser

A command line parser to be used with Rscript to write "#!" shebang scripts that gracefully accept positional and optional arguments and automatically generate usage.

Getting started

Package details

AuthorTrevor L Davis. Ports examples from the argparse Python module by the Python Software Foundation. Ports examples from the getopt package by Allen Day.
MaintainerTrevor L Davis <[email protected]>
LicenseGPL (>= 2)
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the argparse package in your browser

Any scripts or data that you put into this service are public.

argparse documentation built on Jan. 25, 2018, 1:49 a.m.