pgfSweave (version 1.3.0)

pgfSweaveSetup: The Sweave driver for pgfSweave

Description

An Sweave driver for caching code chunks and image files making for speedy compilation.

Usage

pgfSweaveSetup(file, syntax, output = NULL, quiet = FALSE, debug = FALSE, echo = TRUE, eval = TRUE, split = FALSE, stylepath = TRUE, pdf = FALSE, eps = FALSE, cache = FALSE, pgf = FALSE, tikz = TRUE, external = FALSE, sanitize = FALSE, highlight = TRUE, tidy = FALSE, concordance = FALSE, figs.only = TRUE)

Arguments

file
A connection or a character string giving the name of the Sweave file to load.
syntax
output
quiet
debug
echo
eval
split
stylepath
pdf
See RweaveLatex. Note the default is changed to FALSE
eps
See RweaveLatex. Note the default is changed to FALSE
tikz
Set default for option tikz, see details below.
pgf
Set default for option pgf, see details below.
external
Set default for option external, see details below.
sanitize
Set default for option sanitize, see details below.
highlight
Should echo'd code be highlighted with the highlight package.
tidy
Should echo'd code be cleaned up with the tidy.source function from the formatR package.
concordance
figs.only

Value

Nothing useful returned.

Details

To only compile an Rnw to a tex file, pgfSweaveDriver should be used as the driver option to Sweave. Otherwise use the pgfSweave function for a simple way to compile to pdf.

References

Sweave manual: http://www.statistik.lmu.de/~leisch/Sweave/Sweave-manual.pdf

cacheSweave vignette: http://cran.r-project.org/web/packages/cacheSweave/vignettes/cacheSweave.pdf

See Also

pgfSweave, pgfSweaveDriver, cacheSweave, Sweave, tikzDevice highlight