cache_memory_file: Get the memory-file cache engine.

Description Usage Arguments Value See Also Examples

View source: R/cache-functions.R

Description

The cache data will be stored both in memory (for quick access) and on disk (for persistence).

Usage

1
cache_memory_file(cache_dir)

Arguments

cache_dir

Directory where to store the cache files.

Value

A cache object that inherits from R6Cache.

See Also

Other cache functions: cache_file, cache_memory, default_cache

Examples

1
2
3
4
5
6
## Not run: 
cache_fmem <- cache_memory_file("path_to_cache_diretory")

## End(Not run)
 
 

numeract/rflow documentation built on May 28, 2019, 3:39 p.m.