ridl_cache | R Documentation |
Manage cached RIDL downloaded files
ridl_cache_set_dir(path)
ridl_cache_get_dir()
ridl_cache_list()
ridl_cache_delete(file)
ridl_cache_clear()
path |
character, directory to set |
file |
Character, the file to delete |
The default cache directory is
~/.cache/R/ridl_cache
, but you can set
your own path using ridl_cache_set_dir()
the cache directory
the cache directory
list of files in the cache
## Not run:
ridl_cache
## change the default cache directory
tmp <- tempdir()
ridl_cache_set_dir(tmp)
## print current cache directory
ridl_cache_get_dir()
## List available files in the current cache directory
ridl_cache_list()
l <- ridl_cache_list()[1] ## get the first file
ridl_cache_delete(l) ## delete it
ridl_cache_clear() ## delete all cached files
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.