View source: R/sn_set_cache_folder.R
sn_set_cache_folder | R Documentation |
Consider using a folder out of your current project directory, e.g. 'sn_set_cache_folder("~/R/sn_data/")': you will be able to use the same cache in different projects, and prevent cached files from being sync-ed if you use services such as Nextcloud or Dropbox.
sn_set_cache_folder(path = NULL)
sn_get_cache_folder(path = NULL)
path |
A path to a location used for caching data. If the folder does not exist, it will be created. |
The path to the caching folder, if previously set; the same path as given to the function; or the default, 'sn_data' is none is given.
## Not run:
sn_set_cache_folder("~/R/sn_data/")
## End(Not run)
sn_get_cache_folder()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.