Published by the Foundation for Open Access Statistics Editors-in-chief: Bettina Grün, Torsten Hothorn, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Authors: David Kahle, Christopher O'Neill, Jeff Sommars
Title: A Computer Algebra System for R: Macaulay2 and the m2r Package
Abstract: Algebraic methods have a long history in statistics. Apart from the ubiquitous applications of linear algebra, the most visible manifestations of modern algebra in statistics are found in the young field of algebraic statistics, which brings tools from commutative algebra and algebraic geometry to bear on statistical problems. Now over two decades old, algebraic statistics has applications in a wide range of theoretical and applied statistical domains. Nevertheless, algebraic statistical methods are still not mainstream, mostly due to a lack of easy off-the-shelf implementations. In this article we debut m2r, an R package that connects R to Macaulay2 through a persistent back-end socket connection running locally or on a cloud server. Topics range from basic use of m2r to applications and design philosophy.

Page views:: 974. Submitted: 2017-06-24. Published: 2020-05-29.
Paper: A Computer Algebra System for R: Macaulay2 and the m2r Package     Download PDF (Downloads: 214)
m2r_1.0.2.tar.gz: R source package Download (Downloads: 14; 399KB)
v93i09.R: R replication code Download (Downloads: 19; 6KB)

DOI: 10.18637/jss.v093.i09

This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.