diskCache | R Documentation |
Create disk cache (deprecated)
diskCache(
dir = NULL,
max_size = 500 * 1024^2,
max_age = Inf,
max_n = Inf,
evict = c("lru", "fifo"),
destroy_on_finalize = FALSE,
missing = key_missing(),
exec_missing = deprecated(),
logfile = NULL
)
dir |
Directory to store files for the cache. If |
max_size |
Maximum size of the cache, in bytes. If the cache exceeds
this size, cached objects will be removed according to the value of the
|
max_age |
Maximum age of files in cache before they are evicted, in
seconds. Use |
max_n |
Maximum number of objects in the cache. If the number of objects
exceeds this value, then cached objects will be removed according to the
value of |
evict |
The eviction policy to use to decide which objects are removed
when a cache pruning occurs. Currently, |
destroy_on_finalize |
If |
missing |
A value to return when |
exec_missing |
Deprecated. |
logfile |
An optional filename or connection object to where logging
information will be written. To log to the console, use |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.