readCacheHeader | R Documentation |
Loads data from file cache, which is unique for an optional key object.
## Default S3 method: readCacheHeader(file, ...)
file |
A filename or a |
... |
Not used. |
Returns a named list
structure with element identifier
,
version
, comment
(optional), sources
(optional),
and timestamp
.
Henrik Bengtsson
findCache
().
loadCache
().
saveCache
().
data <- 1:120 key <- list(some=1, vari=2, ables=3) saveCache(key=key, data, comment="A simple example of a cached object.") header <- readCacheHeader(findCache(key=key)) print(header) # Clean up file.remove(findCache(key=key))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.