Skip to content

cannin/simpleRCache

 
 

Repository files navigation

Travis-CI Build Status codecov.io

simpleRCache

Overview

A package to do simple result caching in R based on Henrik Bengtsson's R.cache. The global environment is not considered when caching results simplifying moving files between multiple instances of R. Relies on more base functions than R.cache (e.g. cached results are saved using saveRDS/readRDS). NOTE: This package tries to provide the most essential components necessary and a lot of features have been removed.

Hash Keys for Identifying Calls

Calls are identified by generating keys as follows. Where "fcn" is a function and "..." are arguments as list items.

key <- list(fcn=deparse(fcn), ...)
callHash <- digest(key)

Installation

library("devtools");
devtools::install_github("cannin/simpleRCache");

Packages

No packages published

Languages

  • R 100.0%