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).

AuthorHenrik Bengtsson [aut, cre, cph]
Date of publication2015-11-12 19:00:04
MaintainerHenrik Bengtsson <henrikb@braju.com>
LicenseLGPL (>= 2.1)
Version0.12.0
https://github.com/HenrikBengtsson/R.cache

View on CRAN

Files in this package

R.cache
R.cache/inst
R.cache/inst/_Rcache
R.cache/inst/_Rcache/README.txt
R.cache/tests
R.cache/tests/getCacheRootPath.R
R.cache/tests/Object.getChecksum.R
R.cache/tests/StaticMethodsAndNamespaces.R
R.cache/tests/getCachePath.R
R.cache/tests/clearCache.R
R.cache/tests/evalWithMemoization.R
R.cache/tests/readCacheHeader.R
R.cache/tests/setCachePath.R
R.cache/tests/addMemoization.R
R.cache/tests/memoizedCall.R
R.cache/tests/setCacheRootPath.R
R.cache/tests/assertDigest.R
R.cache/tests/loadCache.R
R.cache/tests/textPrompt.R
R.cache/NAMESPACE
R.cache/NEWS
R.cache/R
R.cache/R/getCacheRootPath.R R.cache/R/private.baseLoad.R R.cache/R/Object.getChecksum.R R.cache/R/000.R R.cache/R/private.assertDigest.R R.cache/R/getCachePath.R R.cache/R/clearCache.R R.cache/R/evalWithMemoization.R R.cache/R/generateCache.R R.cache/R/readCacheHeader.R R.cache/R/findCache.R R.cache/R/setupCacheRootPath.R R.cache/R/setCachePath.R R.cache/R/addMemoization.R R.cache/R/memoizedCall.R R.cache/R/setCacheRootPath.R R.cache/R/addREADME.R R.cache/R/006.fixVarArgs.R R.cache/R/loadCache.R R.cache/R/getChecksum.R R.cache/R/999.NonDocumentedObjects.R R.cache/R/999.package.R R.cache/R/zzz.R R.cache/R/saveCache.R R.cache/R/textPrompt.R
R.cache/README.md
R.cache/MD5
R.cache/DESCRIPTION
R.cache/man
R.cache/man/memoizedCall.Rd R.cache/man/saveCache.Rd R.cache/man/generateCache.Rd R.cache/man/000.baseLoad.Rd R.cache/man/setupCacheRootPath.Rd R.cache/man/addMemoization.Rd R.cache/man/setCacheRootPath.Rd R.cache/man/loadCache.Rd R.cache/man/getChecksum.Rd R.cache/man/setCachePath.Rd R.cache/man/getCacheRootPath.Rd R.cache/man/findCache.Rd R.cache/man/evalWithMemoization.Rd R.cache/man/readCacheHeader.Rd R.cache/man/R.cache-package.Rd R.cache/man/getCachePath.Rd R.cache/man/clearCache.Rd R.cache/man/Non-documented_objects.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.