Awesome
minimist
Parse Argument Options
A binding to the minimist JavaScript library. This module implements the guts of optimist's argument parser without all the fanciful decoration.
Hello World
minimist()
minimist(c("-a", "beep", "-b", "boop"))
args = c("-x", "3", "-y", "4", "-n5", "-abc", "--beep=boop", "foo", "bar", "baz")
minimist(args)
Installation
Binary packages for OS-X or Windows can be installed directly from CRAN:
install.packages("minimist")
To install on Linux have a look at V8 installation instructions.