pgfSweaveDriver {pgfSweave} | R Documentation |
An Sweave driver for caching code chunks and image files making for speedy compilation.
pgfSweaveDriver() 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, tex.driver = "pdflatex")
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. |
tex.driver |
Set default for option tex.driver , see details below. |
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.
This function provides new options for use in code chunks
FALSE
).tikz
.tikz
file with the tikzDevice package for inclusion with \input{graphic.tikz}
this takes the place of an \includegraphics
statement. This will cause the font in the graphic to match that of the main document. (defaults to TRUE
). We recommend using this option over the pgf
option for both speed and text consistancy (the pgf
) option will strip text formatting such as boldface.pgf
input{graphic.pgf}
thi takes the place of an \includegraphics
statement. The -m directcopy
option is used so that LaTeX code can be directly used in titles (see the eps2pgf manual, http://sourceforge.net/projects/eps2pgf/). This also causes the font in the graphic to match that of the main document. (defaults to FALSE
)tex.driver
All the Sweave
and cacheSweave
options are available. Note that the defaults for the Sweave
options pdf
and eps
are set to FALSE
unlike Sweave
and cacheSweave
.
pgfrealjobname{myfile}
in the LaTeX header.
pgfSweave
with compile.tex=FALSE
is equivalent to directly calling Sweave.
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