Learn R Programming

memo (version 1.1.1)

cache_stats: Report cache statistics.

Description

Report cache statistics.

Usage

cache_stats(fn)

Value

A list with labels "size", "used", "hits", "misses", "expired" counting the number of slots in the cache, the number of slots currently used, the number of times a previous result was recalled, a new result was recorded, and a result was dropped.

Arguments

fn

A memoized function that was created by memo.