Package: tikzDevice 0.12.6

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.5)tikzDevice_0.12.6.zip(r-4.4)tikzDevice_0.12.6.zip(r-4.3)
tikzDevice_0.12.6.tgz(r-4.5-x86_64)tikzDevice_0.12.6.tgz(r-4.5-arm64)tikzDevice_0.12.6.tgz(r-4.4-x86_64)tikzDevice_0.12.6.tgz(r-4.4-arm64)tikzDevice_0.12.6.tgz(r-4.3-x86_64)tikzDevice_0.12.6.tgz(r-4.3-arm64)
tikzDevice_0.12.6.tar.gz(r-4.5-noble)tikzDevice_0.12.6.tar.gz(r-4.4-noble)
tikzDevice_0.12.6.tgz(r-4.4-emscripten)tikzDevice_0.12.6.tgz(r-4.3-emscripten)
tikzDevice.pdf |tikzDevice.html
tikzDevice/json (API)
NEWS

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

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

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

On CRAN:

10.89 score 134 stars 4 packages 1.4k scripts 4.2k downloads 18 exports 3 dependencies

Last updated 9 months agofrom:c7a370e580. Checks:2 OK, 9 ERROR. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKFeb 08 2025
R-4.5-win-x86_64ERRORFeb 08 2025
R-4.5-mac-x86_64ERRORFeb 08 2025
R-4.5-mac-aarch64ERRORFeb 08 2025
R-4.5-linux-x86_64OKFeb 08 2025
R-4.4-win-x86_64ERRORFeb 08 2025
R-4.4-mac-x86_64ERRORFeb 08 2025
R-4.4-mac-aarch64ERRORFeb 08 2025
R-4.3-win-x86_64ERRORFeb 08 2025
R-4.3-mac-x86_64ERRORFeb 08 2025
R-4.3-mac-aarch64ERRORFeb 08 2025

Exports:anyMultibyteUTF8CharactersgetLatexCharMetricsgetLatexStrWidthgrid.tikzAnnotategrid.tikzCoordgrid.tikzNodegridToDevicesanitizeTexStringsetTikzDefaultstikztikzAnnotatetikzAnnotateGrobtikzCompilerInfotikzCoordtikzCoordGrobtikzNodetikzNodeGrobtikzTest

Dependencies:digestfilehashpng

The tikzDevice Package

Rendered fromtikzDevice.Rnwusingknitr::knitron Feb 08 2025.

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