memo: In-Memory Caching of Repeated Computations (Memoization)

A simple in-memory, LRU cache that can be wrapped around any function to memoize it. The cache is keyed on a hash of the input data (using 'digest') or on pointer equivalence.

Package details

AuthorPeter Meilstrup <peter.meilstrup@gmail.com>
MaintainerPeter Meilstrup <peter.meilstrup@gmail.com>
LicenseMIT + file LICENSE
Version1.1
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("memo")

Try the memo package in your browser

Any scripts or data that you put into this service are public.

memo documentation built on Feb. 16, 2023, 7:06 p.m.