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 [aut, cre], Allen Day [ctb] (Some documentation and examples ported from the getopt package.), Python Software Foundation [ctb] (Some documentation from the optparse Python module.), Steve Lianoglou [ctb], Jim Nikelski [ctb], Kirill Müller [ctb], Peter Humburg [ctb], Rich FitzJohn [ctb], Gyu Jin Choi [ctb]
MaintainerTrevor L Davis <trevor.l.davis@gmail.com>
LicenseGPL (>= 2)
Version1.6.6
URL https://github.com/trevorld/r-optparse
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("optparse")

Try the optparse package in your browser

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

optparse documentation built on April 17, 2020, 1:20 a.m.