system_call: Wrapper for 'system2'

Description Usage Arguments Details Value

View source: R/system_call.R

Description

Wrapper for system2

Usage

1

Arguments

bin

[string]
The system command to be invoked as character string.

...

[any]
Additional arguments passed to system2.

Details

Output of 'stdout' and 'stderr' is captured in a character vector and checked for the exit status. If the status is not 0 an error is thrown. Otherwise the captured output is returned as a string.

Value

The captured output as a string.


imbs-hl/imbs documentation built on Sept. 6, 2019, 11:05 p.m.