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).

Getting started

Package details

AuthorAllen Day Contributions from Trevor L Davis
MaintainerTrevor L Davis <trevor.l.davis@stanford.edu>
LicenseGPL (>= 2)
Version1.19.1
Package repositoryView on R-Forge
Installation Install the latest version of this package by entering the following in R:
install.packages("getopt", repos="http://R-Forge.R-project.org")

Try the getopt package in your browser

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

getopt documentation built on May 2, 2019, 4:51 p.m.