filecacher: File Cacher

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.

Getting started

Package details

AuthorOr Gadish [aut, cre, cph]
MaintainerOr Gadish <orgadish@gmail.com>
LicenseMIT + file LICENSE
Version0.2.9
URL https://github.com/orgadish/filecacher
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("filecacher")

Try the filecacher package in your browser

Any scripts or data that you put into this service are public.

filecacher documentation built on May 29, 2024, 7:35 a.m.