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.5)tikzDevice_0.12.6.zip(r-4.4)tikzDevice_0.12.6.zip(r-4.3)
tikzDevice_0.12.6.tgz(r-4.4-arm64)tikzDevice_0.12.6.tgz(r-4.4-x86_64)tikzDevice_0.12.6.tgz(r-4.3-arm64)tikzDevice_0.12.6.tgz(r-4.3-x86_64)
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://daqana.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

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

On CRAN:

18 exports 131 stars 4.99 score 3 dependencies 3 dependents 5.5k downloads

Last updated 9 days agofrom:c7a370e5802450a5cf1bfc0b96eb338af7bedf6a

Exports:anyMultibyteUTF8CharactersgetLatexCharMetricsgetLatexStrWidthgrid.tikzAnnotategrid.tikzCoordgrid.tikzNodegridToDevicesanitizeTexStringsetTikzDefaultstikztikzAnnotatetikzAnnotateGrobtikzCompilerInfotikzCoordtikzCoordGrobtikzNodetikzNodeGrobtikzTest

Dependencies:digestfilehashpng

The tikzDevice Package

Rendered fromtikzDevice.Rnwusingknitr::knitron Jun 13 2024.

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