cacheSweave {cacheSweave}R Documentation

Cache Sweave Computations

Description

Cache computations when using Sweave

Usage

cacheSweave(expr, prefix = "", envir = parent.frame(), keys = NULL)
cacheSweaveDriver()

Arguments

expr code to be evaluated
prefix character, to be used for naming the cache file
envir environment into which cached results should be loaded
keys character vector of keys to be cached/loaded

Details

cacheSweaveDriver is used directly with Sweave and is passed as the driver argument. cacheSweave can be used within the R code.

Value

Nothing useful is returned.

Author(s)

Roger D. Peng rpeng@jhsph.edu


[Package cacheSweave version 0.1 Index]