Fast and Light-Weight Caching (Memoization) of Objects and Results to Speed Up Computations
Loads an object from a file connection
Creates a copy of an existing function such that its results are memoi...
Removes all files in a cache file directory
Evaluates an R expression with memoization
Locates a cache file
Generates a cache pathname from a key object
Gets the path to the file cache directory
Gets the root path to the file cache directory
Generates a deterministic checksum for an R object
Loads data from file cache
Calls a function with memoization
Non-documented objects
Options used by R.cache
Package R.cache
Loads data from file cache
Saves data to file cache
Sets the path to the file cache directory
Sets the root path to the file cache directory
Interactively offers the user to set up the default root path
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).
Useful links