getopt: C-like getopt behavior.
Version 1.19.1

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

Browse man pages Browse package API and functions Browse package files

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

Man pages

getopt: C-like getopt behavior
get_Rscript_filename: Returns file name of calling Rscript

Functions

get_Rscript_filename Man page Source code
getopt Man page Source code
getopt-package Man page

Files

R
R/getopt.R
NAMESPACE
tests
tests/run-all.R
inst
inst/tests
inst/tests/test-getopt.R
DESCRIPTION
man
man/get_Rscript_filename.Rd
man/getopt.Rd
NEWS
getopt documentation built on May 21, 2017, 12:42 a.m.