cache_setup | R Documentation |
Setup cache path
cache_setup(full_path = NULL, temp_dir = FALSE)
cache_info()
full_path |
(character) the full path to use for storing cached files. |
temp_dir |
(logical) if |
On opening, by default a temporary directory is created for caching
files. To have files cached elsewhere, give the full path of where to
cache files. Adding temp_dir = TRUE
will again use a temporary
dirctory for cacheing.
the full cache path, a directory (character)
Other cache:
cache_delete()
,
cache_details()
,
cache_list()
## Not run:
# default path
cache_setup()
# you can define your own path
cache_setup(path = "foobar")
# set a tempdir - better for programming with to avoid prompt
cache_setup(temp_dir = TRUE)
# cache info
cache_info()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.