tikzDevice: R Graphics Output in LaTeX Format

Share:

The tikzDevice package 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 paper typeset by LaTeX, 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.

Author
Charlie Sharpsteen <chuck@sharpsteen.net> and Cameron Bracken <cameron.bracken@gmail.com>
Date of publication
None
Maintainer
The tikzDevice team <tikzdevice-bugs@lists.r-forge.r-project.org>
License
GPL (>= 2)
Version
0.6.3
URLs

View on R-Forge

Man pages

anyMultibyteUTF8Characters
Check If a String Contains Multibyte UTF-8 characters This...
getLatexStrWidth
Obtain Font Metrics from LaTeX
gridToDevice
Convert grid coordinates to device coordinates
sanitizeTexString
Replace LaTeX Special Characters in a String This function is...
setTikzDefaults
Reset tikzDevice options to default values.
tikz
TikZ Graphics Device 'tikz' is used to open a R graphics...
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

Files in this package

tikzDevice
tikzDevice/GNUmakefile
tikzDevice/R
tikzDevice/R/tikzInternal.R
tikzDevice/R/sanitizeTexString.R
tikzDevice/R/zzz.R
tikzDevice/R/cacheMetrics.R
tikzDevice/R/tikzAnnotate.R
tikzDevice/R/latexStrWidth.R
tikzDevice/R/deviceUtils.R
tikzDevice/R/tikz.R
tikzDevice/NAMESPACE
tikzDevice/tests
tikzDevice/tests/unit_tests.R
tikzDevice/inst
tikzDevice/inst/GIT_VERSION
tikzDevice/inst/NEWS.Rd
tikzDevice/inst/tests
tikzDevice/inst/tests/test_error_handling.R
tikzDevice/inst/tests/standard_graphs
tikzDevice/inst/tests/standard_graphs/pch_caracters.pdf
tikzDevice/inst/tests/standard_graphs/raster_reflection.pdf
tikzDevice/inst/tests/standard_graphs/text_alignment.pdf
tikzDevice/inst/tests/standard_graphs/character_expansion.pdf
tikzDevice/inst/tests/standard_graphs/text_color.pdf
tikzDevice/inst/tests/standard_graphs/hello_TeX.pdf
tikzDevice/inst/tests/standard_graphs/luatex_utf8_characters.pdf
tikzDevice/inst/tests/standard_graphs/line_weights.pdf
tikzDevice/inst/tests/standard_graphs/persp_3D.pdf
tikzDevice/inst/tests/standard_graphs/ggplot2_superscripts.pdf
tikzDevice/inst/tests/standard_graphs/draw_circles.pdf
tikzDevice/inst/tests/standard_graphs/utf8_characters.pdf
tikzDevice/inst/tests/standard_graphs/grid_annotation.pdf
tikzDevice/inst/tests/standard_graphs/plot_legend.pdf
tikzDevice/inst/tests/standard_graphs/line_color.pdf
tikzDevice/inst/tests/standard_graphs/lots_of_elements.pdf
tikzDevice/inst/tests/standard_graphs/polypath.pdf
tikzDevice/inst/tests/standard_graphs/base_raster.pdf
tikzDevice/inst/tests/standard_graphs/base_annotation.pdf
tikzDevice/inst/tests/standard_graphs/xetex_variants.pdf
tikzDevice/inst/tests/standard_graphs/grid_raster.pdf
tikzDevice/inst/tests/standard_graphs/graph_box.pdf
tikzDevice/inst/tests/standard_graphs/line_types.pdf
tikzDevice/inst/tests/standard_graphs/string_placement.pdf
tikzDevice/inst/tests/standard_graphs/transparency.pdf
tikzDevice/inst/tests/standard_graphs/ggplot2_test.pdf
tikzDevice/inst/tests/standard_graphs/draw_filled_circles.pdf
tikzDevice/inst/tests/standard_graphs/filled_rectangle.pdf
tikzDevice/inst/tests/standard_graphs/contour_lines.pdf
tikzDevice/inst/tests/test_graphics.R
tikzDevice/inst/tests/helper_reporters.R
tikzDevice/inst/tests/helper_expectations.R
tikzDevice/inst/tests/helper_graphics.R
tikzDevice/inst/doc
tikzDevice/inst/doc/tikzDevice.pdf
tikzDevice/inst/doc/agufull04.bst
tikzDevice/inst/doc/tikzCodeBlock.sty
tikzDevice/inst/doc/refs.bib
tikzDevice/inst/doc/sweavetolst.sty
tikzDevice/inst/doc/img
tikzDevice/inst/doc/img/plotmathTikz.pdf
tikzDevice/inst/doc/img/plotmathDefault.pdf
tikzDevice/inst/doc/img/Rlogo.png
tikzDevice/inst/doc/img/testXeLaTeX.pdf
tikzDevice/inst/doc/tikzDevice.Rnw
tikzDevice/inst/doc/tikzDeviceMacros.tex
tikzDevice/RELEASE_PROCEEDURE
tikzDevice/DESCRIPTION
tikzDevice/man
tikzDevice/man/getLatexStrWidth.Rd
tikzDevice/man/tikzCompilerInfo.Rd
tikzDevice/man/sanitizeTexString.Rd
tikzDevice/man/anyMultibyteUTF8Characters.Rd
tikzDevice/man/gridToDevice.Rd
tikzDevice/man/tikz.Rd
tikzDevice/man/tikzAnnotate.Rd
tikzDevice/man/setTikzDefaults.Rd
tikzDevice/man/tikzDevice-package.Rd
tikzDevice/src
tikzDevice/src/tikzDevice.h
tikzDevice/src/tikzDevice.c
tikzDevice/NEWS