README.md

robustSystem

R package with single function, robust_system helps you catch stdout, stderr and exit code when running external application from R.

Install with:

library("devtools")
devtools::install_github("J-Moravec/robustSystem")

and use:

library("robustSystem")
robust_system("ls")
$exit_status
[1] 0

$stderr
character(0)

$stdout
[1] "DESCRIPTION" "LICENSE"     "man"         "NAMESPACE"   "R"          
[6] "README.md" 

Inspired by these stackoverflow answers.



J-Moravec/robustSystem documentation built on May 7, 2019, 6:46 a.m.