Package: latexr
Title: Translate 'LaTeX' Formulas to R Code
Version: 0.3.0
Authors@R:
c(
person(given = "Rodrigo",
family = "Borges",
role = c("aut", "cre"),
email = "rodrigo@borges.net.br"),
person(given = "Tomas",
family = "Capretto",
role = c("aut", "ctb"),
email = "tomicapretto@gmail.com")
)
Description: 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) .
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
Imports: R6 (>= 2.4.0), purrr (>= 0.3.0)
Suggests: testthat
URL: https://github.com/rodrigoesborges/latexr
BugReports: https://github.com/rodrigoesborges/latexr/issues
Repository: https://rodrigoesborges.r-universe.dev
Date/Publication: 2026-09-21 11:45:51 UTC
RemoteUrl: https://github.com/rodrigoesborges/latexr
RemoteRef: HEAD
RemoteSha: 12db3403e81814dc651c2517e12e1eb5fdbf7c58
NeedsCompilation: no
Packaged: 2026-10-01 14:15:53 UTC; root
Author: Rodrigo Borges [aut, cre],
Tomas Capretto [aut, ctb]
Maintainer: Rodrigo Borges