full_path: (character) the full path to use for storing cached files.
temp_dir: (logical) if TRUE use a randomly assigned tempdir (and full_path is ignored), if FALSE, you can use full_path.
Returns
the full cache path, a directory (character)
Details
On opening, by default a temporary directory is created for caching files. To have files cached elsewhere, give the full path of where to cache files. Adding temp_dir = TRUE will again use a temporary dirctory for cacheing.
Examples
## Not run:# default pathcache_setup()# you can define your own pathcache_setup(path ="foobar")# set a tempdir - better for programming with to avoid promptcache_setup(temp_dir =TRUE)# cache infocache_info()## End(Not run)
See Also
Other cache: cache_delete(), cache_details(), cache_list()