Learn R Programming

httpcache (version 1.2.0)

cache-api: HTTP Cache API

Description

These functions provide access to what's stored in the cache.

Usage

hitCache(key)

getCache(key)

setCache(key, value)

Arguments

key

character, typically a URL or similar

value

For setCache, an R object to set in the cache for key.

Value

hitCache returns logical whether key exists in the cache. getCache returns the value stored in the cache, or NULL if there is nothing cached. setCache is called for its side effects.