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

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

Browse man pages Browse package API and functions Browse package files

AuthorHenrik Bengtsson [aut, cre, cph]
Date of publication2015-11-12 19:00:04
MaintainerHenrik Bengtsson <henrikb@braju.com>
LicenseLGPL (>= 2.1)
Version0.12.0
URL https://github.com/HenrikBengtsson/R.cache
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("R.cache")

Man pages

000.baseLoad: Loads an object from a file connection
addMemoization: Creates a copy of an existing function such that its results...
clearCache: Removes all files in a cache file directory
evalWithMemoization: Evaluates an R expression with memoization
findCache: Locates a cache file
generateCache: Generates a cache pathname from a key object
getCachePath: Gets the path to the file cache directory
getCacheRootPath: Gets the root path to the file cache directory
getChecksum: Generates a deterministic checksum for an R object
loadCache: Loads data from file cache
memoizedCall: Calls a function with memoization
Non-documented_objects: Non-documented objects
R.cache-package: Package R.cache
readCacheHeader: Loads data from file cache
saveCache: Saves data to file cache
setCachePath: Sets the path to the file cache directory
setCacheRootPath: Sets the root path to the file cache directory
setupCacheRootPath: Interactively offers the user to set up the default root path

Functions

.baseLoad Man page
.textPrompt Man page
Non-documented objects Man page
R.cache Man page
R.cache-package Man page
addMemoization Man page
addMemoization.default Man page
addREADME Source code
assertDigest Source code
baseLoad Source code
clearCache Man page
clearCache.default Man page
evalWithMemoization Man page Source code
findCache Man page
findCache.default Man page
generateCache Man page
generateCache.default Man page
getCachePath Man page
getCachePath.default Man page
getCacheRootPath Man page
getCacheRootPath.default Man page
getChecksum Man page
getChecksum.Object Man page
getChecksum.default Man page
loadCache Man page
loadCache.default Man page
memoizedCall Man page
memoizedCall.default Man page
onAttach Source code
onLoad Source code
readCacheHeader Man page
readCacheHeader.default Man page
saveCache Man page
saveCache.default Man page
setCachePath Man page
setCachePath.default Man page
setCacheRootPath Man page
setCacheRootPath.default Man page
setupCacheRootPath Man page
setupCacheRootPath.default Man page
textPrompt Source code

Files

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