| cache_setup {rerddap} | R Documentation |
Setup cache path
cache_setup(path_suffix = NULL) cache_info()
path_suffix |
(character) the path suffix to be use for storing cached files |
Looks first if the user has set a cache path suffix in an env var or R option. If not found, proceeds to use a temp directory if not in interactive mode, but if interactive, asks user to setup a default cache location that will work across sessions (but user can say no, in which case a temp directory will be used, and each package start will require cache setup again)
the full cache path, a directory (character)
Other cache: cache_delete,
cache_details, cache_list
## Not run: # default path cache_setup() # you can define your own path cache_setup(path = "foobar") # cache info cache_info() ## End(Not run)