Package: latexr 0.3.0

latexr: Translate 'LaTeX' Formulas to R Code

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/>.

Authors:Rodrigo Borges [aut, cre], Tomas Capretto [aut, ctb]

latexr_0.3.0.tar.gz
latexr_0.3.0.zip(r-4.7-any)latexr_0.3.0.zip(r-4.6-any)latexr_0.3.0.zip(r-4.5-any)
latexr_0.3.0.tgz(r-4.6-any)latexr_0.3.0.tgz(r-4.5-any)
latexr_0.3.0.tar.gz(r-4.7-any)latexr_0.3.0.tar.gz(r-4.6-any)
latexr_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
latexr/json (API)

# Install 'latexr' in R:
install.packages('latexr', repos = c('https://rodrigoesborges.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/rodrigoesborges/latexr/issues

On CRAN:

Conda:

2.70 score 4 exports 8 dependencies

Last updated from:12db3403e8. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK115
source / vignettesOK312
linux-releaseOK122
macos-releaseOK177
macos-oldrelOK182
windows-develOK76
windows-releaseOK76
windows-oldrelOK110
wasm-releaseOK94

Exports:latex2astlatex2funlatex2rnormalize_mathquill

Dependencies:cligluelifecyclemagrittrpurrrR6rlangvctrs