cachify.function: cachify turns a function into a caching function

Description Usage Arguments Value

View source: R/cachify.function.R

Description

cachify turns a function into a caching function

Usage

1
2
## S3 method for class 'function'
cachify(f, cacheDir, debug = FALSE)

Arguments

f

The function to cachify

cacheDir

A directory where the results of the function are stored.

debug

Set to TRUE to receive info about cache retrieval vs. evaluation

Value

The cachified function. Cachifistic!


fnbn/cachifyR documentation built on May 5, 2019, 6:58 p.m.