reload_rmarkdown_cache | R Documentation |
Reload Rmarkdown cache in the order files were created
reload_rmarkdown_cache(
dir = ".",
maxnum = 1000,
max_cache_name = NULL,
envir = globalenv(),
file_sort = c("globals", "objects", "ctime", "mtime"),
preferred_load_types = c("lazyLoad", "load"),
dryrun = FALSE,
verbose = TRUE,
...
)
dir |
|
maxnum |
|
max_cache_name |
|
envir |
|
file_sort |
|
preferred_load_types |
|
dryrun |
|
verbose |
|
... |
additional arguments are passed to |
This function is intended to help re-load Rmarkdown cache files created during the processing/rendering of an Rmarkdown file.
By default, all cached R objects are loaded into the
global environment globalenv()
.
It can be given an argumen envir
to store R objects inside
a specific environment
.
If supplied with max_cache_name
then this function will only
load the cache chunks in order, until it recognizes that
chunk name. This option is intended to help restore the R
data available for a particular Rmarkdown chunk.
this function does not return data, but instead is called
for the by-product of loading data into the given envir
environment.
Other jam utility functions:
call_fn_ellipsis()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.