Learn R Programming

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

tikzDevice (version 0.5.2)

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.2

License

GPL (>= 2.0)

Maintainer

The tikzDevice team

Last Published

October 15th, 2010

Functions in tikzDevice (0.5.2)

tikz

TikZ Graphics Device
getLatexStrWidth

Obtain the Width of an Arbitrary LaTeX String
setTikzDefaults

Reset tikzDevice options.
sanitizeTexString

Replace LaTeX Special Characters in a String
tikzDevice-package

Support for native LaTeX output of R graphics
getLatexCharMetrics

Obtain LaTeX Font Metrics for Characters
tikzAnnotate

Add Custom TikZ Code to an Active Device