tikz.init | R Documentation |
initialize and finalize a tikzDevice
and carry out optional
post-processing
tikz.init(basename, standAlone = TRUE, engine, ...)
basename |
the base of the files which will be used by
|
standAlone |
A logical value indicating whether the output file should
be suitable for direct processing by LaTeX. A value of |
engine |
used to specify the LaTex engine. If missing, the standard engine of tikz is used. |
... |
optional arguments which are passed to |
Convenience Functions for tikzDevice
tikz.init
returns a list with character vector members, $pdf,
$tex, $aux $log containing the corresponding filenames
Bartosz Kostrzewa, bartosz.kostrzewa@desy.de
Other tikzutils:
tikz.finalize()
tikzfiles <- tikz.init("plotname",width=3,height=4) plot(x=c(1:3), y=c(1:3)^2, xlab="$x$", ylab="$y$") tikz.finalize(tikzfiles=tikzfiles, clean=TRUE) file.remove("plotname.pdf")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.