tikzDevice: R Graphics Output in LaTeX Format
Version 0.10-1

Provides a graphics output device for R that records plots in a LaTeX-friendly format. The device transforms plotting commands issued by R functions into LaTeX code blocks. When included in a LaTeX document, these blocks are interpreted with the help of 'TikZ'---a graphics package for TeX and friends written by Till Tantau. Using the 'tikzDevice', the text of R plots can contain LaTeX commands such as mathematical formula. The device also allows arbitrary LaTeX code to be inserted into the output stream.

Browse man pages Browse package API and functions Browse package files

AuthorCharlie Sharpsteen [aut], Cameron Bracken [aut], Kirill Müller [ctb, cre], Yihui Xie [ctb]
Date of publication2016-02-10 09:11:31
MaintainerKirill Müller <krlmlr+r@mailbox.org>
LicenseGPL (>= 2)
Version0.10-1
URL https://github.com/yihui/tikzDevice
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("tikzDevice")

Man pages

anyMultibyteUTF8Characters: Check If a String Contains Multibyte UTF-8 characters
getLatexStrWidth: Obtain Font Metrics from LaTeX
gridToDevice: Convert grid coordinates to device coordinates
sanitizeTexString: Replace LaTeX Special Characters in a String
setTikzDefaults: Reset tikzDevice options to default values.
tikz: TikZ Graphics Device
tikzAnnotate: Add Custom TikZ Code to an Active Device
tikzCompilerInfo: Print paths to TeX compilers.
tikzDevice-package: Support for native LaTeX output of R graphics

Functions

ENV_VAR Source code
OPTION Source code
PATH Source code
anyMultibyteUTF8Characters Man page Source code
checkDictionaryStatus Source code
drawDetails.tikz_annotation Source code
drawDetails.tikz_coord Source code
drawDetails.tikz_node Source code
evalWithoutInterrupts Source code
format.ENV_VAR Source code
format.OPTION Source code
format.PATH Source code
formatExecutable Source code
getDateStampForTikz Source code
getDeviceInfo Source code
getDocumentPointsize Source code
getLatexCharMetrics Man page Source code
getLatexStrWidth Man page Source code
getMetricsFromLatex Source code
getTikzDeviceVersion Source code
grid.tikzAnnotate Man page Source code
grid.tikzCoord Man page Source code
grid.tikzNode Man page Source code
gridToDevice Man page Source code
isExecutable Source code
isTikzDevice Source code
onLoad Source code
queryMetricsDictionary Source code
sanitizeTexString Man page Source code
setTikzDefaults Man page Source code
storeMetricsInDictionary Source code
tikz Man page Source code
tikzAnnotate Man page Source code
tikzAnnotateGrob Man page Source code
tikzCompilerInfo Man page Source code
tikzCoord Man page Source code
tikzCoordGrob Man page Source code
tikzDevice Man page
tikzDevice-package Man page
tikzNode Man page Source code
tikzNodeGrob Man page Source code
tikz_writeRaster Source code

Files

inst
inst/doc
inst/doc/tikzDevice.R
inst/doc/tikzDevice.Rnw
inst/doc/tikzDevice.pdf
tests
tests/unit_tests.R
tests/testthat
tests/testthat/helper_graphics.R
tests/testthat/helper_expectations.R
tests/testthat/test_metrics_dict.R
tests/testthat/test_graphics.R
tests/testthat/helper_bootstrap.R
tests/testthat/test_pointsize.R
tests/testthat/Rplots.tex
tests/testthat/helper_reporters.R
tests/testthat/standard_graphs
tests/testthat/standard_graphs/contour_lines.pdf
tests/testthat/standard_graphs/transparency.pdf
tests/testthat/standard_graphs/lots_of_elements.pdf
tests/testthat/standard_graphs/grid_annotation.pdf
tests/testthat/standard_graphs/filled_rectangle.pdf
tests/testthat/standard_graphs/line_weights.pdf
tests/testthat/standard_graphs/annotation_noflush.pdf
tests/testthat/standard_graphs/string_placement.pdf
tests/testthat/standard_graphs/character_expansion.pdf
tests/testthat/standard_graphs/ggplot2_superscripts.pdf
tests/testthat/standard_graphs/ggplot2_test.pdf
tests/testthat/standard_graphs/text_alignment.pdf
tests/testthat/standard_graphs/line_color_width.pdf
tests/testthat/standard_graphs/draw_circles.pdf
tests/testthat/standard_graphs/raster_reflection.pdf
tests/testthat/standard_graphs/base_annotation.pdf
tests/testthat/standard_graphs/text_color.pdf
tests/testthat/standard_graphs/luatex_utf8_characters.pdf
tests/testthat/standard_graphs/draw_filled_circles.pdf
tests/testthat/standard_graphs/polypath.pdf
tests/testthat/standard_graphs/graph_box.pdf
tests/testthat/standard_graphs/line_types.pdf
tests/testthat/standard_graphs/line_color.pdf
tests/testthat/standard_graphs/plot_legend.pdf
tests/testthat/standard_graphs/utf8_characters.pdf
tests/testthat/standard_graphs/xetex_variants.pdf
tests/testthat/standard_graphs/hello_TeX.pdf
tests/testthat/standard_graphs/base_raster.pdf
tests/testthat/standard_graphs/persp_3D.pdf
tests/testthat/standard_graphs/pch_caracters.pdf
tests/testthat/standard_graphs/grid_raster.pdf
tests/testthat/standard_graphs/base_symbolic_simple.pdf
tests/testthat/standard_graphs/base_raster_noresample.pdf
tests/testthat/Rplots_colors.tex
tests/testthat/test_error_handling.R
src
src/tikzDevice.h
src/tikzDevice.c
NAMESPACE
NEWS.md
R
R/latexStrWidth.R
R/deviceUtils.R
R/sanitizeTexString.R
R/tikzDevice-package.R
R/tikzAnnotate.R
R/cacheMetrics.R
R/tikzInternal.R
R/tikz.R
R/zzz.R
vignettes
vignettes/refs.bib
vignettes/sweavetolst.sty
vignettes/tikzCodeBlock.sty
vignettes/tikzDeviceVignette.sty
vignettes/img
vignettes/img/xelatexEx.pdf
vignettes/img/plotmathTikz.pdf
vignettes/img/plotmathDefault.pdf
vignettes/img/Rlogo.png
vignettes/tikzDevice-concordance.tex
vignettes/consoleExample.tex
vignettes/figs
vignettes/figs/pdf-example.pdf
vignettes/figs/westCoast.tex
vignettes/figs/tikz-example.tex
vignettes/figs/annotation.tex
vignettes/figs/simpleEx.tex
vignettes/figs/titlePlot.tex
vignettes/figs/latexEx.tex
vignettes/tikzDevice.Rnw
vignettes/agufull04.bst
MD5
build
build/vignette.rds
DESCRIPTION
man
man/anyMultibyteUTF8Characters.Rd
man/setTikzDefaults.Rd
man/tikzAnnotate.Rd
man/getLatexStrWidth.Rd
man/tikzDevice-package.Rd
man/tikzCompilerInfo.Rd
man/sanitizeTexString.Rd
man/tikz.Rd
man/gridToDevice.Rd
tikzDevice documentation built on May 19, 2017, 9:02 p.m.