Learn R Programming

⚠️There's a newer version (1.7.5) of this package.Take me there.

optparse (version 0.8)

Command line option parser.

Description

A command line parser inspired by Python's ``optparse`` libary to be used with Rscript to write "#!" shebang scripts that accept short and long flag/options.

Copy Link

Version

Install

install.packages('optparse')

Monthly Downloads

17,236

Version

0.8

License

GPL (>= 2)

Maintainer

Trevor Davis

Last Published

November 3rd, 2009

Functions in optparse (0.8)

add_option

Functions to enable our OptionParser to recognize specific command line options.
optparse-internal

Internal optparse objects
OptionParserOption-class

Class "OptionParserOption"
print_help

Printing an usage message from an OptionParser object
OptionParser

A function to create an istance of the class OptionParser.
parse_args

Parse command line options.
OptionParser-class

Class "OptionParser"
optparse-package

Command line option parser