echo | R Documentation |
Run expressions with logging outputs
echo(exprs, to = stdout(), msg = TRUE)
exprs |
Expressions |
to |
Output locations |
msg |
If |
try(echo({
1 + 1
Sys.sleep(2)
head(mtcars)
message(1)
warning(2)
stop(3)
}))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.