Did you know ... | Search Documentation: |
Packs (add-ons) for SWI-Prolog |
Title: | Translates mathematical expressions to compounds that can be used by html//1 (SWISH) or html//3 (normal SWIPL, with pack http/html_write). |
---|---|
Rating: | Not rated. Create the first rating! |
Latest version: | 1.3 |
SHA1 sum: | f5d50fba3c212287eea69c20fa1cda1786094cdb |
Author: | Matthias Gondan <Matthias.Gondan-Rochon@uibk.ac.at> |
No reviews. Create the first review!.
Version | SHA1 | #Downloads | URL |
---|---|---|---|
1.3 | b72424fa6b897fe11cce17e4bbec452699d6ef40 | 1 | https://github.com/mgondan/mathml.git |
96310f7b54cffc1f7f152073825bf4b66b035747 | 1 | https://github.com/mgondan/mathml.git | |
f5d50fba3c212287eea69c20fa1cda1786094cdb | 1 | https://github.com/mgondan/mathml.git | |
3877bf547f6449b8f258a3409792b8b6e873aab6 | 2 | https://github.com/mgondan/mathml.git | |
8e4ba2ffa1cffff935659119fa45085cfe1ecb22 | 1 | https://github.com/mgondan/mathml.git | |
482de0faa6f205638e82f08401f91ae552efb467 | 1 | https://github.com/mgondan/mathml.git | |
62074cb60ec28239df9c438c423401d0f52ecd13 | 1 | https://github.com/mgondan/mathml.git | |
b330eff1f1bb2e30ae860ef88d8c37ad5edea52f | 1 | https://github.com/mgondan/mathml.git | |
5bb71931eec5b2e63a890657365e07584ae8ef1b | 1 | https://github.com/mgondan/mathml.git | |
97972f86d6abe04c5fe077b49da5b1d000173e71 | 1 | https://github.com/mgondan/mathml.git | |
e3f2db96963bbd5a265fe044f09d49f394d992c6 | 1 | https://github.com/mgondan/mathml.git | |
e24fa2c87f8e2a03eea55f30c7be065a14e76f15 | 1 | https://github.com/mgondan/mathml.git | |
b41e2744feba018cc89f91a3e9335adce99f2e50 | 1 | https://github.com/mgondan/mathml.git | |
94f9c5aeca3d8cb549d6c8ca8c5dee0d7a1dc2d3 | 1 | https://github.com/mgondan/mathml.git | |
da0e1b8cb0024cc29b7ea46ce2d08cbde41624d7 | 1 | https://github.com/mgondan/mathml.git | |
2a52ba99c1427adb7502d371b0d05f349b0a5f76 | 1 | https://github.com/mgondan/mathml.git | |
e86d101baeea471dace6a8b7a02492e22198a104 | 1 | https://github.com/mgondan/mathml.git | |
1675db91cfb053bbf9bb9bcaa76a8008385d741b | 3 | https://github.com/mgondan/mathml.git | |
f2b05ad485b09e4f3389c49ce1d499ebbd0543da | 1 | https://github.com/mgondan/mathml.git | |
0.2 | d16915010b2fc2d3991afb1244ce099b594b6d14 | 1 | https://github.com/mgondan/mathml.git |
1683d76af508d94c33a6ac2f675e1bb6741fe656 | 1 | https://github.com/mgondan/mathml.git | |
67410c4691d493eba2b42978d2737ef93fae38dd | 1 | https://github.com/mgondan/mathml.git | |
c693f94d23cba31038c68067e3a172bfc147ecda | 1 | https://github.com/mgondan/mathml.git | |
176197664aa7cdd58bbff5dc6ea0aadba9aaeaf7 | 1 | https://github.com/mgondan/mathml.git | |
330b73b39f7f1db366de7bb2e9da8a4d5958b235 | 1 | https://github.com/mgondan/mathml.git | |
88545b2774c717077fb5f088ea63999ab9889881 | 1 | https://github.com/mgondan/mathml.git | |
c3a9f50844aad6e06873a044dd2c58b8b3068018 | 1 | https://github.com/mgondan/mathml.git | |
b0a421076f54e852064da225b0496e66d454c011 | 1 | https://github.com/mgondan/mathml.git | |
f679c800d857b502f662e9d454475233f5542d34 | 1 | https://github.com/mgondan/mathml.git | |
7d15e7c2acf0edf5f0dc302d9832cabacf172508 | 6 | https://github.com/mgondan/mathml.git | |
0.1 | 333289d085edbeb9647491c5591ab76b21d00707 | 2 | https://github.com/mgondan/mathml.git |
0.0.8 | 2a076531c6bbf6cf2f392b43ff415896f852ae2c | 1 | https://github.com/mgondan/mathml.git |
da30d170d055b0fd7c2c0a280d24bd76f0014daf | 1 | https://github.com/mgondan/mathml.git | |
0.0.6 | 268e8f948f4d1af533b447e43887296012366d21 | 1 | https://github.com/mgondan/mathml.git |
0.0.3 | 238f4dd9e1b19deedb3d5fdb59ccfa74e6dca871 | 1 | https://github.com/mgondan/mathml.git |
0.0.2 | 01ec02c071af6a290c5907307a0c49cf47961615 | 1 | https://github.com/mgondan/mathml.git |
0.0.1 | 4865f15ec28953318e1fe0128040cb42a3342e15 | 6 | https://github.com/mgondan/mathml.git |
mathml
. Translate R expressions to MathML
mathml
allows rendering R terms in pretty mathematical equations, bridging the
gap between computational needs, presentation of results, and their
reproducibility.
Researchers or teachers can already use R Markdown to conduct analyses and show
results, mathml
smoothes this process and allows for integrated calculations
and output. The package mathml
can help in fact to improve data analyses and
statistical reports from an aesthetical perspective, as well as regarding
reproducibility of research, by allowing also for a better detection of possible
mistakes in R programs.
The package supports both MathML and Latex/MathJax for use in R Markdown documents, presentations and Shiny Apps.
This R package is distributed under a BSD-2 simplified license (see the file LICENSE).
install.packages("mathml")
The package depends on
R package rolog
[https://cran.r-project.org/package=rolog], which
itself needs the SWI-Prolog runtime on the system. The latter can be installed
either from [https://swi-prolog.org] or by installing
R package rswipl
[https://cran.r-project.org/package=rswipl].library(mathml) term <- quote(a^b + c * (d + 3) - a^2L * (a + d)) mathout(term)
$a^b + c \cdot (d+3.00) - a^2 \cdot (a+d)$
term <- call("^", quote(x), 2L) mathout(term)
$x^2$
If you use mathml
for your own package, please do not "Import" mathml
in
your DESCRIPTION, but "Depend" on it.
Package: onmathml Type: Package Title: A package that uses mathml ... Depends: R (>= 4.3), mathml (>= 1.3)
It's not entirely clear why this is needed.
Pack contains 75 files holding a total of 333K bytes.