Learn R Programming

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

tikzDevice (version 0.12.3.1)

R Graphics Output in LaTeX Format

Description

Provides a graphics output device for R that records plots in a LaTeX-friendly format. The device transforms plotting commands issued by R functions into LaTeX code blocks. When included in a LaTeX document, these blocks are interpreted with the help of 'TikZ'---a graphics package for TeX and friends written by Till Tantau. Using the 'tikzDevice', the text of R plots can contain LaTeX commands such as mathematical formula. The device also allows arbitrary LaTeX code to be inserted into the output stream.

Copy Link

Version

Install

install.packages('tikzDevice')

Monthly Downloads

3,980

Version

0.12.3.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Ralf Stubner

Last Published

June 30th, 2020

Functions in tikzDevice (0.12.3.1)

gridToDevice

Convert grid coordinates to device coordinates
setTikzDefaults

Reset tikzDevice options to default values.
tikzTest

Test invocation of a LaTeX engine.
tikzCompilerInfo

Print paths to TeX compilers.
anyMultibyteUTF8Characters

Check If a String Contains Multibyte UTF-8 characters
tikzAnnotate

Add Custom TikZ Code to an Active Device
tikzDevice-package

Support for native LaTeX output of R graphics
sanitizeTexString

Replace LaTeX Special Characters in a String
getLatexStrWidth

Obtain Font Metrics from LaTeX
tikz

TikZ Graphics Device