Learn R Programming

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

tikzDevice (version 0.6.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

4,570

Version

0.6.2

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

The tikzDevice team

Last Published

January 13th, 2012

Functions in tikzDevice (0.6.2)

getLatexCharMetrics

Obtain LaTeX Font Metrics for Characters...
anyMultibyteUTF8Characters

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

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

Replace LaTeX Special Characters in a String...
setTikzDefaults

Reset tikzDevice options.
tikz

TikZ Graphics Device...
tikzDevice-package

Support for native LaTeX output of R graphics
gridToDevice

Convert grid coordinates to device coordinates...
getLatexStrWidth

Obtain the Width of an Arbitrary LaTeX String...