loadKnitrCache: loadKnitrCache

Description Usage Arguments Details Value Examples

View source: R/loadKnitrCache.R

Description

Loads a knitr cache into the current global enviroment

Usage

1
loadKnitrCache(directory)

Arguments

directory

A directory containing a knitr cache

Details

When a knitr script is run with cache enabled all data is saved in a given directory. However, this is not easily loaded into an active R session for easy manipulation when working on scripts.

This function allows you to load this data into the current R session. Simply call loadKnitrCache('directory/containing/cache/').

All data is 'lazyLoaded' meaning that R doesn't actually pull the data into memory until you begin working with it.

Value

loads entire cache into global enviroment (lazy loading)

Examples

1
loadKnitrCache('~/directory/containing/cache/')

willbowditch/knitrCache documentation built on May 4, 2019, 5:26 a.m.