Description Usage Arguments Author(s)
For an Rmarkdown chunk, check if a file exists containing the results, and if it doesn't, run an expression, and save the resulting objects. Useful when writing Rmarkdown reports with time-intensive analyses; these can be run once and then saved.
1 | save_chunk(expr)
|
expr |
An expression to be evaluated if the filename does not exist.
Multiple expressions should be enclosed in curly braces. Objects created by
this expression are stored in a file called |
Caspar J. van Lissa
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.