The memofunc package provides tools for function memoization with explicit cache key semantics and pluggable storage backends.

Core Concepts

  • Memoized functions: cached calls still behave like normal R functions

  • Deterministic keys: cache keys combine function identity and normalized call arguments

  • Configurable storage: memory, file, and object provider backends

  • Runtime controls: force recomputation or perform dry-run cache checks

Memoization Functions

Author

Roy Wetherall rwetherall@gmail.com