Update vignetted PDF for release
[cacheSweave.git] / tests / reg-tests.Rout.save
blob5a2909550cb13910efa4bc15d75785783246ccbf
2 R version 2.5.0 (2007-04-23)
3 Copyright (C) 2007 The R Foundation for Statistical Computing
4 ISBN 3-900051-07-0
6 R is free software and comes with ABSOLUTELY NO WARRANTY.
7 You are welcome to redistribute it under certain conditions.
8 Type 'license()' or 'licence()' for distribution details.
10 R is a collaborative project with many contributors.
11 Type 'contributors()' for more information and
12 'citation()' on how to cite R or R packages in publications.
14 Type 'demo()' for some demos, 'help()' for on-line help, or
15 'help.start()' for an HTML browser interface to help.
16 Type 'q()' to quit R.
18 > suppressMessages(library(cacheSweave))
19
20 > infile <- system.file("example", "simpleRR.Rnw", package = "cacheSweave")
21
22 > setCacheDir("cache")
23
24 > Sweave(infile, driver = cacheSweaveDriver)
25 Writing to file simpleRR.tex
26 Processing code chunks ...
27  1 : echo term verbatim (label=LoadPackages)
28  2 : echo term verbatim (label=FitLinearModel)
29  3 : echo term tex (label=CoefficientTable)
30  4 : echo term verbatim pdf (label=LinearModelDiagnosticPlots)
32 You can now run LaTeX on 'simpleRR.tex'
33
34 > ls()
35 [1] "airquality" "fit"        "infile"     "oldpar"    
36
37
38 > ## Check to see that objects were properly cached
39 > ## Database should contain 'airquality' and 'fit'
40
41 > dname <- dir("cache", full.names = TRUE)
42 > suppressMessages(library(stashR))
43 > db <- new("localDB", dir = dname, name = "cacheDB")
44 > dbList(db)
45 [1] ".__856743e03e5d0d595e4ee5c9ab86052e__"
46 [2] "airquality"                           
47 [3] ".__1a92865db91cad5463c99e83d570c353__"
48 [4] "fit"                                  
49