argparser-package: Command-line argument parser

argparser-packageR Documentation

Command-line argument parser

Description

argparser provides functions for parsing command-line arguments.

Details

To use the parser,

  1. create an arg.parser object with arg_parser;

  2. add arguments to the parser with add_argument;

  3. call parse_args to parse the command line arguments.

To execute the script, invoke Rscript. Alternatively on Linux, insert a shebang on the first line (#!/usr/bin/env Rscript) and chmod +x the script,

See Also

Useful links:


argparser documentation built on May 29, 2024, 4:06 a.m.