util_cat_sys

The util_cat_sys function displays the output of a system call.

Use case

In the example below, the result of the system call would not be returned.

system("date")

The output of the same system call is returned using util_cat_sys.

library(jeksterslabRutils)
util_cat_sys("date")
#> Fri Jan 15 02:12:46 PM CST 2021