View source: R/io_set_cache_dir.R
io_set_cache_dir | R Documentation |
Set paths to cache large IO downloads
io_set_cache_dir(cache_dir = NULL, io_database = NULL)
cache_dir |
If set to a character this will replace the current cache path stored in the iotr configs. |
io_database |
For which database should the cache directory be set. Current options are 'wiod' or 'icio'. |
Several io_dl_*
and io_load_*
functions ask for a cache
directory to cache several large IO data files in order to avoid repeated
downloads. This function is a helper to (re)set the folder paths where to
keep these files. The given path is stored in a config file (at the user
configs location obtained from package rappdirs). Manually call this function
with a new path to reset it.
Returns path to the respective cache directory.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.