optparse: Command line option parser.

A command line parser inspired by Python's 'optparse' library to be used with Rscript to write "#!" shebang scripts that accept short and long flag/options.

Package details

AuthorTrevor L Davis. Some documentation and examples ported from Allen Day's getopt package. Some documentation from the optparse Python module by the Python Software Foundation. Contributions from Steve Lianoglou and Jim Nikelski.
MaintainerTrevor L Davis <[email protected]>
LicenseGPL (>= 2)
URL http://r-forge.r-project.org/projects/optparse
Package repositoryView on R-Forge
Installation Install the latest version of this package by entering the following in R:
install.packages("optparse", repos="http://R-Forge.R-project.org")

Try the optparse package in your browser

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

optparse documentation built on May 2, 2019, 6:27 p.m.