filecacher

From MaRDI portal
Revision as of 20:10, 12 March 2024 by Import240312060351 (talk | contribs) (Created automatically from import240312060351)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Software:5977712



CRANfilecacherMaRDI QIDQ5977712

File Cacher

Or Gadish

Last update: 19 January 2024

Software version identifier: 0.2.3, 0.2.4, 0.2.5, 0.2.7, 0.2.9


Copyright license: MIT license, File License

The main functions in this package are with_cache() and cached_read(). The former is a simple way to cache an R object into a file on disk, using 'cachem'. The latter is a wrapper around any standard read function, but caches both the output and the file list info. If the input file list info hasn't changed, the cache is used; otherwise, the original files are re-read. This can save time if the original operation requires reading from many files, and/or involves lots of processing.