R.cache: Fast and Light-Weight Caching (Memoization) of Objects and Results to Speed Up Computations

Memoization can be used to speed up repetitive and computational expensive function calls. The first time a function that implements memoization is called the results are stored in a cache memory. The next time the function is called with the same set of parameters, the results are momentarily retrieved from the cache avoiding repeating the calculations. With this package, any R object can be cached in a key-value storage where the key can be an arbitrary set of R objects. The cache memory is persistent (on the file system).

Version: 0.16.0
Depends: R (≥ 2.14.0)
Imports: utils, R.methodsS3 (≥ 1.8.1), R.oo (≥ 1.24.0), R.utils (≥ 2.10.1), digest (≥ 0.6.13)
Published: 2022-07-21
DOI: 10.32614/CRAN.package.R.cache
Author: Henrik Bengtsson [aut, cre, cph]
Maintainer: Henrik Bengtsson <henrikb at braju.com>
BugReports: https://github.com/HenrikBengtsson/R.cache/issues
License: LGPL-2.1 | LGPL-3 [expanded from: LGPL (≥ 2.1)]
URL: https://github.com/HenrikBengtsson/R.cache
NeedsCompilation: no
Materials: NEWS
In views: ReproducibleResearch
CRAN checks: R.cache results

Documentation:

Reference manual: R.cache.pdf

Downloads:

Package source: R.cache_0.16.0.tar.gz
Windows binaries: r-devel: R.cache_0.16.0.zip, r-release: R.cache_0.16.0.zip, r-oldrel: R.cache_0.16.0.zip
macOS binaries: r-release (arm64): R.cache_0.16.0.tgz, r-oldrel (arm64): R.cache_0.16.0.tgz, r-release (x86_64): R.cache_0.16.0.tgz, r-oldrel (x86_64): R.cache_0.16.0.tgz
Old sources: R.cache archive

Reverse dependencies:

Reverse imports: aroma.affymetrix, aroma.cn, aroma.core, CaDrA, csodata, DiceView, facmodTS, MSnID, PCRA, precommit, PSCBS, repmis, R.filesets, RKorAPClient, R.rsp, scholar, stepR, styler, TreeTools
Reverse suggests: jointseg, mirTarRnaSeq, QDNAseq, ragtop

Linking:

Please use the canonical form https://CRAN.R-project.org/package=R.cache to link to this page.