Learn R Programming

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

latex2exp (version 0.4.0)

Use LaTeX Expressions in Plots

Description

Parses and converts LaTeX math formulas to R's plotmath expressions, used to enter mathematical formulas and symbols to be rendered as text, axis labels, etc. throughout R's plotting system.

Copy Link

Version

Install

install.packages('latex2exp')

Monthly Downloads

11,056

Version

0.4.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Stefano Meschiari

Last Published

November 30th, 2015

Functions in latex2exp (0.4.0)

latex2exp

Converts a LaTeX string to a plotmath expression. Deprecated; use TeX instead.
latex2exp_supported

print.latextoken

Prints out a parsed LaTeX object, as returned by TeX(..., output='ast').
toString.latextoken

Converts a token created by TeX() to a string, later to be parsed into an expression (for internal use).
latex2exp_examples

plot.expression

Plots an expression on the current graphical device.
TeX