Computer Algebra in R with caracas
Mikkel Meyer Andersen, S{\o}ren H{\o}jsgaard

TL;DR
The paper introduces the caracas package that enhances R's symbolic mathematics capabilities by integrating Python's SymPy, facilitating advanced mathematical computations within R for statistics and mathematics applications.
Contribution
It presents a new R package, caracas, that seamlessly integrates SymPy for symbolic mathematics, improving R's computational and reporting capabilities.
Findings
Caracas enables symbolic math in R using SymPy.
The package integrates well with Rmarkdown for reporting.
Examples demonstrate applications in statistics and mathematics.
Abstract
The capability of R to do symbolic mathematics is enhanced by the caracas package. This package uses the Python computer algebra library SymPy as a back-end but caracas is tightly integrated in the R environment, thereby enabling the R user with symbolic mathematics within R. Key components of the caracas package are illustrated in this paper. Examples are taken from statistics and mathematics. The caracas package integrates well with e.g. Rmarkdown, and as such creation of scientific reports and teaching is supported.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData Analysis with R · Computational Physics and Python Applications · Scientific Computing and Data Management
