pgfSweaveDriver: The Sweave driver for pgfSweave

Description Usage Arguments Details Value Note Author(s) References See Also

View source: R/pgfSweaveDriver.R View source: R/pgfSweaveDriver.R

Description

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

Usage

1
2
3
4
5
6
  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

See RweaveLatex

output

See RweaveLatex

quiet

See RweaveLatex

debug

See RweaveLatex

echo

See RweaveLatex

eval

See RweaveLatex

split

See RweaveLatex

stylepath

See RweaveLatex

pdf

See RweaveLatex. Note the default is changed to FALSE

eps

See RweaveLatex. Note the default is changed to FALSE

cache

See cacheSweaveDriver

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

RweaveLatex

figs.only

RweaveLatex

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.

Value

Nothing useful returned.

Note

Author(s)

Cameron Bracken cameron.brack[email protected] and Charlie Sharpsteen

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


pgfSweave documentation built on May 31, 2017, 5 a.m.