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. We demonstrate how mathematics and statistics can benefit from bridging computer algebra and data via R. This is done thought a number of examples and we propose some topics for small student projects. The caracas package integrates well with e.g. Rmarkdown, and as such creation of scientific reports and teaching is supported.
翻译:通过卡拉卡套件,R的象征性数学能力得到加强。这个套件使用皮顿计算机代数库SymPy作为后端,但卡拉卡严格融入了R环境,从而使R内部具有象征性数学的R用户能够从计算机代数和通过R的数据的连接中获取数学和统计学的好处。我们考虑了几个例子,并为小型学生项目提出了一些议题。卡拉卡套件与Rmarcown等结合得很好,因此支持科学报告和教学的创建。