1 suppressMessages(library(cacheSweave))
3 infile <- system.file("example", "simpleRR.Rnw", package = "cacheSweave")
7 Sweave(infile, driver = cacheSweaveDriver)
12 ## Check to see that objects were properly cached
13 ## Database should contain 'airquality' and 'fit'
15 dname <- dir("cache", full.names = TRUE)
16 suppressMessages(library(stashR))
17 db <- new("localDB", dir = dname, name = "cacheDB")