Learn R Programming

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

tikzDevice (version 0.6.1)

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,472

Version

0.6.1

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

The tikzDevice team

Last Published

April 15th, 2011

Functions in tikzDevice (0.6.1)

tikzDevice-package

Support for native LaTeX output of R graphics
anyMultibyteUTF8Characters

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

Replace LaTeX Special Characters in a String...
getLatexCharMetrics

Obtain LaTeX Font Metrics for Characters...
getLatexStrWidth

Obtain the Width of an Arbitrary LaTeX String...
tikzAnnotate

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

TikZ Graphics Device...
setTikzDefaults

Reset tikzDevice options.