cache_file: Get the file only cache engine.

Description Usage Arguments Value See Also Examples

View source: R/cache-functions.R

Description

All cache data will be stored only on the local disk.

Usage

1
cache_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_memory_file, cache_memory, default_cache

Examples

1
2
3
4
## Not run: 
cache_in_file <- cache_file("path_to_cache_diretory")

## End(Not run)

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