Learn R Programming

rerddap (version 1.2.0)

cache_list: List cached files

Description

List cached files

Usage

cache_list()

Arguments

See Also

Other cache: cache_delete(), cache_details(), cache_setup()

Examples

Run this code
if (FALSE) {
# list files in cache
cache_list()

# List info for files
## download some data first
tabledap('erdCinpKfmBT')
griddap('erdVHNchlamday',
 time = c('2015-04-01','2015-04-10'),
 latitude = c(18, 21),
 longitude = c(-120, -119)
)

(x <- cache_list())
cache_details(x$nc[1])
cache_details(x$csv[1])
cache_details()

# delete files by name in cache
# cache_delete(x$nc[1])
# cache_delete(x$nc[2:3])
}

Run the code above in your browser using DataLab