Utility to cat()
system()
output.
Based on https://github.com/yihui/knitr/issues/1203.
util_cat_sys(command, sep = "\n")
Arguments
command |
the system command to be invoked, as a character string. |
sep |
a character vector of strings to append after each element. |
Examples
util_cat_sys("date")
#> Fri Jan 15 02:10:47 PM CST 2021