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 packages optparse or argparse which add extra features like automatically generated help option and usage, support for default values, positional argument support, etc.

Author
Allen Day. Contributions from Trevor L Davis.
Date of publication
2013-08-30 10:36:29
Maintainer
Trevor L Davis <trevor.l.davis@stanford.edu>
License
GPL (>= 2)
Version
1.20.0
URLs

View on CRAN

Man pages

getopt
C-like getopt behavior
get_Rscript_filename
Returns file name of calling Rscript
sort_list
Recursively sorts a list

Files in this package

getopt
getopt/COPYING
getopt/inst
getopt/inst/tests
getopt/inst/tests/test-getopt.R
getopt/tests
getopt/tests/run-all.R
getopt/NAMESPACE
getopt/NEWS
getopt/R
getopt/R/utils.R
getopt/R/getopt.R
getopt/MD5
getopt/DESCRIPTION
getopt/man
getopt/man/get_Rscript_filename.Rd
getopt/man/sort_list.Rd
getopt/man/getopt.Rd