Learn R Programming

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

tikzDevice (version 0.6.0)

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

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

The tikzDevice team

Last Published

April 13th, 2011

Functions in tikzDevice (0.6.0)

sanitizeTexString

Replace LaTeX Special Characters in a String...
tikzDevice-package

Support for native LaTeX output of R graphics
setTikzDefaults

Reset tikzDevice options.
tikzAnnotate

Add Custom TikZ Code to an Active Device...
anyMultibyteUTF8Characters

Check If a String Contains Multibyte UTF-8 characters...
getLatexCharMetrics

Obtain LaTeX Font Metrics for Characters...
tikz

TikZ Graphics Device...
getLatexStrWidth

Obtain the Width of an Arbitrary LaTeX String...