load_cached_chunk | R Documentation |
Loads the cached chunk from cache using lazy loading where possible.
load_cached_chunk(
chunk = "unnamed-chunk",
cache = c("knitr_cache", "cache"),
filter,
env = globalenv()
)
load_all_chunks(cache = c("knitr_cache", "cache"))
chunk |
Name of cached chunk (from Rmd). Can be a path to a chunk (partial), from which |
cache |
Path to the cache from which all chunks are loaded |
filter |
Character vector of object names to retain |
env |
Environment into which objects are loaded |
Any existing objects in the environment will be overwritten when chunk(s) are loaded.
load_cached_chunk()
: Load a cached chunk
load_all_chunks()
: Load all cached chunks (alphabetically)
importFrom plyr l_ply
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.