Description Usage Arguments Value Author(s) See Also
Function for creating a Caching engine with specific behaviors
1 2 3 4 | cachingEngine(base_dir = "./r_caches", tmp_base_dir = tempdir(),
write_allowed = TRUE, write_on_cache = FALSE, gdevs = list(png),
eval_fun = parseWithVis, return_handler = withVisHandler,
populate = TRUE)
|
base_dir |
character value . Path to which permanent caches should be written (if applicable) |
tmp_base_dir |
character value. Path to which temporary caches should be written (if applicable) |
write_allowed |
logical. Should the engine allow caches to be
written to disk. Defaults to |
write_on_cache |
logical. Should the engine write caches to
disk immediately upon creation. Defaults to |
gdevs |
list. A list of graphics device functions to use when
caching plots. Defaults to |
eval_fun |
function. The evaluator function to be used when no
cache is found. Defaults to |
return_handler |
function. The function to process values
returned by |
populate |
logical. Should the engine include existing caches
from |
A CachingEngine object suitable for use with
evalWithCache
Gabriel Becker
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.