argparse: Command Line Optional and Positional Argument Parser
Version 1.0.4

A command line parser to be used with Rscript to write "#!" shebang scripts that gracefully accept positional and optional arguments and automatically generate usage.

Browse man pages Browse package API and functions Browse package files

AuthorTrevor L Davis. Ports examples from the argparse Python module by the Python Software Foundation. Ports examples from the getopt package by Allen Day.
Date of publication2016-10-28 10:45:32
MaintainerTrevor L Davis <trevor.l.davis@gmail.com>
LicenseGPL (>= 2)
Version1.0.4
URL https://github.com/trevorld/argparse
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("argparse")

Getting started

Man pages

ArgumentParser: Create a command line parser

Functions

ArgumentParser Man page Source code
convert_..._to_arguments Source code
convert_argument Source code

Files

COPYING
inst
inst/COPYRIGHTS
inst/doc
inst/doc/argparse.Rrst
inst/doc/argparse.pdf
inst/doc/argparse.R
exec
exec/example.R
exec/display_file.R
tests
tests/run-all.R
tests/testthat
tests/testthat/test-argparse.R
NAMESPACE
INSTALL
NEWS
R
R/argparse.R
vignettes
vignettes/argparse.Rrst
MD5
build
build/vignette.rds
DESCRIPTION
man
man/ArgumentParser.Rd
argparse documentation built on May 19, 2017, 8:32 a.m.