Learn R Programming

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

optparse (version 1.3.2)

Command Line Option Parser

Description

A command line parser inspired by Python's 'optparse' library 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

33,753

Version

1.3.2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Trevor L Davis

Last Published

October 3rd, 2015

Functions in optparse (1.3.2)

make_option

Functions to enable our OptionParser to recognize specific command line options.
OptionParserOption-class

Class to hold information about command-line options
print_help

Printing an usage message from an OptionParser object
optparse-package

Command line option parser
OptionParser

A function to create an instance of a parser object
OptionParser-class

Option Parser
parse_args

Parse command line options.