Learn R Programming

⚠️There's a newer version (0.12.6) of this package.Take me there.

tikzDevice (version 0.5.3)

A Device for R Graphics Output in PGF/TikZ Format

Description

The TikZ device enables LaTeX-ready output from R graphics functions. This is done by producing code that can be understood by the TikZ graphics language. All text in a graphic output with the tikz() function will can be typeset by LaTeX and therefore will match whatever fonts are currently used in the document. This also means that LaTeX mathematics can be typeset directly into labels and annotations! Graphics produced this way can also be annotated with custom TikZ commands.

Copy Link

Version

Install

install.packages('tikzDevice')

Monthly Downloads

5,235

Version

0.5.3

License

GPL (>= 2.0)

Maintainer

The tikzDevice team

Last Published

December 6th, 2010

Functions in tikzDevice (0.5.3)

tikz

TikZ Graphics Device
getLatexCharMetrics

Obtain LaTeX Font Metrics for Characters
tikzDevice-package

Support for native LaTeX output of R graphics
setTikzDefaults

Reset tikzDevice options.
tikzAnnotate

Add Custom TikZ Code to an Active Device
sanitizeTexString

Replace LaTeX Special Characters in a String
getLatexStrWidth

Obtain the Width of an Arbitrary LaTeX String