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.
翻译:该软件包利用Python计算机代数库SymPy作为后端,但将caracas紧密地融入R环境,从而使R用户在R.中具有象征性数学,本文说明了caracas软件包的关键组成部分,从统计和数学中引证了例子,Caracas软件包与Rmarcown等结合得很好,因此支持了科学报告和教学的创建。