Learn R Programming

gadget2 (version 2.3.11)

gadget_binary: Return the location of the gadget binary installed by this package

Description

Return the location of the gadget binary installed by this package

Usage

gadget_binary()

Arguments

Value

File path, e.g. "/usr/local/lib/R/site-library/gadget/bin/gadget"

Examples

Run this code
# Run gadget, capture help output
help_output <- system2(gadget_binary(), '-h', stdout = TRUE)

Run the code above in your browser using DataLab