command: Generic Wrapper for shell/system

Description Usage Arguments See Also Examples

Description

It is useful to use a universal system command interface that works best with the user's particular OS. command does this by utilizing one function to represent both shell and system without restricting the available arguments of either base system interface.

Usage

1
command(cmd, ...)

Arguments

cmd

The system command to be invoked, as a character string.

...

Arguments passed to either shell or system. Function arguments are OS dependent. Windows users see shell. Others can view system for specific function arguments.

See Also

shell, system

Examples

1
command("R --version")

trinker/embodied documentation built on May 31, 2019, 8:42 p.m.