The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Implements a minimal 'LaTeX' parser that translates mathematical formulas into R code strings. Supports arithmetic operators, implicit multiplication, fractions, Greek letters, common mathematical functions, and statistical notation for means, medians, and rolling sums. Input from visual formula editors such as 'MathQuill' is normalized automatically, and the resulting string can be evaluated with parse() and eval(), or converted into an R function with latex2fun(). The implementation follows the tree-walking interpreter design of Nystrom (2021) <https://craftinginterpreters.com/>.
| Version: | 0.3.0 |
| Imports: | R6 (≥ 2.4.0), purrr (≥ 0.3.0) |
| Suggests: | testthat |
| Published: | 2026-09-30 |
| DOI: | 10.32614/CRAN.package.latexr |
| Author: | Rodrigo Borges [aut, cre], Tomas Capretto [aut, ctb] |
| Maintainer: | Rodrigo Borges <rodrigo at borges.net.br> |
| BugReports: | https://github.com/rodrigoesborges/latexr/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/rodrigoesborges/latexr |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | latexr results |
| Reference manual: | latexr.html , latexr.pdf |
| Package source: | latexr_0.3.0.tar.gz |
| Windows binaries: | r-devel: latexr_0.3.0.zip, r-release: not available, r-oldrel: latexr_0.3.0.zip |
| macOS binaries: | r-release (arm64): latexr_0.3.0.tgz, r-oldrel (arm64): latexr_0.3.0.tgz, r-release (x86_64): latexr_0.3.0.tgz, r-oldrel (x86_64): latexr_0.3.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=latexr to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.