knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
The util_cat_sys
function
displays the output of a system
call.
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.