getopt: C-like getopt behavior.

Package designed to be used with Rscript to write ``#!'' shebang scripts that accept short and long flags/options. Many users will prefer using instead the package optparse which adds extra features (automatically generated help option and usage, support for default values, basic positional argument support).

AuthorAllen Day Contributions from Trevor L Davis
Date of publication2013-03-01 22:49:51
MaintainerTrevor L Davis <>
LicenseGPL (>= 2)

View on R-Forge

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.