simpleCache

What simpleCache is
simpleCache is an R package that stores and reuses R objects to help make analysis pipelines reusable, restartable, and reproducible. It suits both interactive work and automated processes that reuse objects across scripts or R sessions. To create a cache, choose its location and name, then provide the R code that produces the object. When called, simpleCache loads the named cache if it exists; otherwise, it creates it. The package can recreate and reload caches, list or delete them, and configure a default cache directory. Cached objects can be assigned to environments, including the global environment. For cluster-based workflows, simpleCache interfaces with batchtools to build caches on cluster resource managers. It is self-hosted, with Windows and macOS binaries and a source package available through CRAN. The package is free and distributed under the 2-Clause BSD License. Its documentation advises choosing names for cached objects that are not expected to change. Questions, feature requests, and bug reports are handled through the GitHub issue queue.
Who it suits
simpleCache suits R users who want to reuse computed objects in interactive analysis or automated pipelines across scripts and sessions. It also fits cluster workflows that use batchtools and users who want control over where caches are stored.
What it does well
- Free package distributed under the 2-Clause BSD License.
- Loads an existing cache or creates one when needed.
- Can list, delete, recreate, and reload caches.
- Supports assigning cached objects to environments, including the global environment.
- Interfaces with batchtools for cluster resource managers.
What to know first
- Cache names should identify objects that are not planned to change.
- Deployment is self-hosted.
Limits
The documentation advises using cache names for objects that are not planned to change.
Getting started
- Visit https://code.databio.org/simpleCache/.
- Choose a Windows or macOS CRAN binary, or download the source package.
- Choose a cache location and provide a name for the object.
- Supply the R code that produces the object and call simpleCache.
Verdict
Choose simpleCache if you work in R and want to reuse objects across analysis scripts, sessions, or pipeline runs. Its batchtools interface also supports cluster resource manager workflows. Look elsewhere if you need a hosted service rather than a self-hosted package.
Questions
What does simpleCache do?
It caches R objects so they can be reused in analysis pipelines. A call loads an existing cache or creates one if needed.
Is simpleCache free?
Yes. Its pricing model is free, and it is distributed under the 2-Clause BSD License.
Which platforms are supported?
The listed platforms are macOS and Windows. CRAN provides binaries for both and a source package.
Can simpleCache be used in cluster workflows?
Yes. It interfaces with batchtools to build caches on cluster resource managers.
Where can users get support?
Questions, feature requests, and bug reports are directed to the GitHub issue queue.
Facts from simpleCache's own pages
- Cache behavior
- A simpleCache call loads an existing cache or creates it if one does not exist. · code.databio.org, 4 Oct 2026
- Downloads
- CRAN lists Windows and macOS binaries and a source package for download. · cran.r-project.org, 4 Oct 2026
- Environments
- Options include assigning cached objects to environments, including the global environment. · code.databio.org, 4 Oct 2026
- Features
- The package can recreate and reload caches, list or delete them, and set a default cache directory. · code.databio.org, 4 Oct 2026
- How it works
- Users choose a cache location and provide a cache name and R code that produces the object. · code.databio.org, 4 Oct 2026
- Integration
- simpleCache interfaces with batchtools to build caches on cluster resource managers. · code.databio.org, 4 Oct 2026
- License
- The package is distributed under the 2-Clause BSD License. · code.databio.org, 4 Oct 2026
- Limit
- The documentation cautions that cache names should identify objects that are not planned to change. · code.databio.org, 4 Oct 2026
- Purpose
- simpleCache is an R package for caching R objects to support reusable, restartable, reproducible analysis pipelines. · code.databio.org, 4 Oct 2026
- Support
- Questions, feature requests, and bug reports are directed to the GitHub issue queue. · code.databio.org, 4 Oct 2026
- Use cases
- The maker describes it for interactive analysis and automatic pipelines that reuse objects across scripts or R sessions. · code.databio.org, 4 Oct 2026
Where simpleCache stands on Freedom251
- Caching Software#14 of 27