Other packages > Find by keyword >

getopt  

C-Like 'getopt' Behavior
View on CRAN: Click here


Download and install getopt package within the R console
Install from CRAN:
install.packages("getopt")

Install from Github:
library("remotes")
install_github("cran/getopt")

Install by package version:
library("remotes")
install_version("getopt", "1.20.4")



Attach the package and use:
library("getopt")
Maintained by
Trevor L Davis
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2008-04-14
Latest Update: 2023-10-01
Description:
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.
How to cite:
Trevor L Davis (2008). getopt: C-Like 'getopt' Behavior. R package version 1.20.4, https://cran.r-project.org/web/packages/getopt. Accessed 06 Mar. 2026.
Previous versions and publish date:
1.1 (2008-04-14 09:26), 1.11 (2008-04-16 09:45), 1.12 (2008-04-23 11:09), 1.14 (2008-04-30 14:47), 1.15 (2010-04-28 11:19), 1.16 (2011-05-02 11:39), 1.17 (2011-09-26 09:15), 1.19.0 (2012-11-18 10:10), 1.19.1 (2013-03-04 07:40), 1.20.0 (2013-08-30 10:36), 1.20.1 (2017-11-30 00:47), 1.20.2 (2018-02-16 12:19), 1.20.3 (2019-03-22 21:10)
Other packages that cited getopt R package
View getopt citation profile
Other R packages that getopt depends, imports, suggests or enhances
Complete documentation for getopt
Functions, R codes and Examples using the getopt R package
Some associated functions: get_Rscript_filename . getopt . sort_list . 
Some associated R codes: getopt.R . utils.R .  Full getopt package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

EMVS  
The Expectation-Maximization Approach to Bayesian Variable Selection
An efficient expectation-maximization algorithm for fitting Bayesian spike-and-slab regularization p ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  
solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
Download / Learn more Package Citations See dependency  
DatabionicSwarm  
Swarm Intelligence for Self-Organized Clustering
Algorithms implementing populations of agents that interact with one another and sense their environ ...
Download / Learn more Package Citations See dependency  
openxlsx  
Read, Write and Edit xlsx Files
Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, stylin ...
Download / Learn more Package Citations See dependency  
mlr3viz  
Visualizations for 'mlr3'
Visualization package of the 'mlr3' ecosystem. It features plots for mlr3 objects such as tasks, le ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,376

Author Associations

26,265

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA