Package: tikzDevice 0.12.6

Ralf Stubner

tikzDevice: R Graphics Output in LaTeX Format

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.

Authors:Charlie Sharpsteen [aut], Cameron Bracken [aut], Kirill Müller [ctb], Yihui Xie [ctb], Ralf Stubner [cre], Nico Bellack [ctb]

tikzDevice_0.12.6.tar.gz
tikzDevice_0.12.6.zip(r-4.7)tikzDevice_0.12.6.zip(r-4.6)tikzDevice_0.12.6.zip(r-4.5)
tikzDevice_0.12.6.tgz(r-4.6-x86_64)tikzDevice_0.12.6.tgz(r-4.6-arm64)tikzDevice_0.12.6.tgz(r-4.5-x86_64)tikzDevice_0.12.6.tgz(r-4.5-arm64)
tikzDevice_0.12.6.tar.gz(r-4.7-arm64)tikzDevice_0.12.6.tar.gz(r-4.7-x86_64)tikzDevice_0.12.6.tar.gz(r-4.6-arm64)tikzDevice_0.12.6.tar.gz(r-4.6-x86_64)
tikzDevice_0.12.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
tikzDevice/json (API)
NEWS

# Install 'tikzDevice' in R:
install.packages('tikzDevice', repos = c('https://daqana.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/daqana/tikzdevice/issues

Pkgdown/docs site:https://daqana.github.io

On CRAN:

Conda:

11.35 score 137 stars 3 packages 1.8k scripts 12k downloads 18 exports 3 dependencies

Last updated from:c7a370e580. Checks:6 OK, 7 ERROR. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK138
linux-devel-x86_64OK146
source / vignettesOK249
linux-release-arm64OK129
linux-release-x86_64OK114
macos-release-arm64ERROR110
macos-release-x86_64ERROR271
macos-oldrel-arm64ERROR133
macos-oldrel-x86_64ERROR292
windows-develERROR89
windows-releaseERROR119
windows-oldrelERROR79
wasm-releaseOK115

Exports:anyMultibyteUTF8CharactersgetLatexCharMetricsgetLatexStrWidthgrid.tikzAnnotategrid.tikzCoordgrid.tikzNodegridToDevicesanitizeTexStringsetTikzDefaultstikztikzAnnotatetikzAnnotateGrobtikzCompilerInfotikzCoordtikzCoordGrobtikzNodetikzNodeGrobtikzTest

Dependencies:digestfilehashpng

The tikzDevice Package

Rendered fromtikzDevice.Rnwusingknitr::knitron May 20 2026.

Last update: 2023-08-18
Started: 2013-11-01

Readme and manuals

Help Manual

Help pageTopics
Support for native LaTeX output of R graphicstikzDevice-package tikzDevice
Check If a String Contains Multibyte UTF-8 charactersanyMultibyteUTF8Characters
Obtain Font Metrics from LaTeXgetLatexCharMetrics getLatexStrWidth
Convert grid coordinates to device coordinatesgridToDevice
Replace LaTeX Special Characters in a StringsanitizeTexString
Reset tikzDevice options to default values.setTikzDefaults
TikZ Graphics Devicetikz
Add Custom TikZ Code to an Active Devicegrid.tikzAnnotate grid.tikzCoord grid.tikzNode tikzAnnotate tikzAnnotateGrob tikzCoord tikzCoordGrob tikzNode tikzNodeGrob
Print paths to TeX compilers.tikzCompilerInfo
Test invocation of a LaTeX engine.tikzTest