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/monadR documentation built on Dec. 16, 2020, 4:26 a.m.