Description Usage Arguments Details Value See Also
Get/set the cache path
1 | cache_path(path, verbose = getOption("verbose", FALSE))
|
path |
path or string; location for the cache directory |
verbose |
whether to announce change of |
Without a path
argument or path=NULL
, cache_path()
returns the
(relative) path to the cache directory. This is provided by
options(cache.path)
.
When path
is given, the cache_path
is set. If path
does not exist,
an error is thrown. The cache should be initialized with cache_create(...)
first. NULL
is allowed and does not throw an error.
Always returns the value of getOptions('cache.path')
cache_create()
fs::path_rel()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.