lazyload | R Documentation |
These functions are helpful for loading cached chunks into an interactive session.
lazyload_cache_dir(
path = "./cache",
envir = parent.frame(),
ask = FALSE,
verbose = getOption("verbose", FALSE),
full.names = TRUE,
...
)
lazyload_cache_labels(
labels,
path = "./cache/",
envir = parent.frame(),
verbose = getOption("verbose", FALSE),
filter,
full.names = TRUE,
...
)
path |
the path to the cache directory |
envir |
the environment to load the objects into |
ask |
if |
verbose |
if |
full.names |
use the full name, i.e., include the path, for the chunk
label? This argument is passed to |
... |
additional arguments passed to |
labels |
character vector; chunk labels to load |
filter |
optional function; passed to |
Use lazyload_cache_dir
to load a whole directory of cached objects.
Use lazyload_cache_labels
to load and explicit set of cached chunks.
Both functions return NULL
, invisibly.
Peter DeWitt (https://github.com/dewittpe).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.