powered by
Get information about the cache
Reset the cache
Set the cache directory
get_cache_info()reset_cache()set_cache(path = file.path(getwd(), ".cache"))
reset_cache()
set_cache(path = file.path(getwd(), ".cache"))
Invisibly returns the path to the cache directory or a list containing:
The path to the cache directory.
The number of files in the cache.
The path to the cache directory. Defaults to the '.cache' folder in the current working directory.
if (FALSE) { # interactive() get_cache_info() } if (FALSE) { # interactive() reset_cache() } if (FALSE) { # interactive() set_cache() }
Run the code above in your browser using DataLab