Description Usage Arguments Value Examples
Override the default paths used by app_cache_dir
.
1 | set_app_cache_dir(appname, cache_dir = NULL)
|
appname |
Character; the name of the application that will "own" the cache, such as the name of a package. |
cache_dir |
Character scalar; a path to a cache directory. |
A normalized path to a cache directory. The directory is created if
the user has write access and the directory does not exist. An option is
also set so future calls to app_cache_dir
will respect the
change.
1 2 | # Executing this function creates a cache directory.
set_app_cache_dir(appname = "dlr", cache_dir = "/my/cache/path")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.