filecacher (Q5977712): Difference between revisions
From MaRDI portal
Removed claims |
Added link to MaRDI item. |
||
(2 intermediate revisions by 2 users not shown) | |||
Property / programmed in | |||
Property / programmed in: R / rank | |||
Normal rank | |||
Property / depends on software | |||
Property / depends on software: R / rank | |||
Normal rank | |||
Property / depends on software: R / qualifier | |||
software version identifier: ≥ 4.1.0 | |||
Property / MaRDI profile type | |||
Property / MaRDI profile type: MaRDI software profile / rank | |||
Normal rank | |||
links / mardi / name | links / mardi / name | ||
Latest revision as of 20:10, 12 March 2024
File Cacher
Language | Label | Description | Also known as |
---|---|---|---|
English | filecacher |
File Cacher |
Statements
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.
0 references
19 January 2024
0 references