memory_cache: Store a value in memory

Description Usage Arguments Value See Also Examples

View source: R/cache.R

Description

Store a value in memory

Usage

1

Arguments

x

Value to be stored

Value

A function that returns a value stored in memory

See Also

Other cache: clear_cache, fail_cache, make_cacher, make_recacher, no_cache, void_cache

Examples

1
2
3
4
foo <- 45
foo_proxy <- memory_cache(foo)
foo
foo_proxy@get()

arendsee/rmonad documentation built on Oct. 10, 2018, 6:26 p.m.