Description Usage Arguments Details Value Note Author(s) References See Also
View source: R/pgfSweaveDriver.R View source: R/pgfSweaveDriver.R
An Sweave driver for caching code chunks and image files making for speedy compilation.
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)
|
file |
A connection or a character string giving the name of the Sweave file to load. |
syntax |
See |
output |
See |
quiet |
See |
debug |
See |
echo |
See |
eval |
See |
split |
See |
stylepath |
See |
pdf |
See |
eps |
See |
cache |
See
|
tikz |
Set default for option |
pgf |
Set default for option |
external |
Set default for option |
sanitize |
Set default for option |
highlight |
Should echo'd code be highlighted with the highlight package. |
tidy |
Should echo'd code be cleaned up with the
|
concordance |
|
figs.only |
|
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.
Nothing useful returned.
For myfile.Rnw, Make sure to call the command \codepgfrealjobnamemyfile in the LaTeX header.
Calling pgfSweave
with compile.tex=FALSE is equivalent to directly
calling Sweave.
To obtain the speedup from using
pgf external graphics be sure to set external=TRUE
on all code chunks which generate a plot. The default
code options for the driver are pdf=FALSE,
eps=FALSE, tikz=TRUE, pgf=FALSE,
external=FALSE.
Cameron Bracken cameron.bracken@gmail.com and Charlie Sharpsteen
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
pgfSweave,
pgfSweaveDriver,
cacheSweave,
Sweave,
tikzDevice
highlight
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.