JSM 2011 Online Program

The views expressed here are those of the individual authors and not necessarily those of the JSM sponsors, their officers, or their staff.

Abstract Details

Activity Number: 101
Type: Invited
Date/Time: Monday, August 1, 2011 : 8:30 AM to 10:20 AM
Sponsor: Section on Statistical Computing
Abstract - #300348
Title: CXXR: An Ideas Hatchery for Future R Development
Author(s): Andrew Runnalls*+
Companies: University of Kent
Address: School of Computing, Canterbury, CT2 7NF, UK
Keywords: R ; C++ ; refactoring ; computing ; object-oriented
Abstract:

The continued growth of CRAN is testament to the increasing number of developers engaged in R development. But far fewer researchers have experimented with the R interpreter itself. The code of the interpreter, written for the most part in C, is structured in a way that will be foreign to students brought up with object-oriented programming, and the available documentation, though giving a general understanding of how the interpreter works, does not really enable a newcomer to start modifying the code with any confidence.

The CXXR project is progressively refactoring the interpreter into C++, whilst all the time preserving existing functionality: by restructuring the code into tightly encapsulated and carefully documented classes, CXXR aims to open up the interpreter to more ready experimentation by statistical computing researchers.

This paper focusses on two example tasks: (a) providing, as a package, a new type of data vector, and (b) adding the capability to track the provenance of R objects. The paper shows how CXXR greatly facilitates these tasks by internal changes to the structure of the interpreter, and by offering a higher-level interface for packages to exploit.


The address information is for the authors that have a + after their name.
Authors who are presenting talks have a * after their name.

Back to the full JSM 2011 program




2011 JSM Online Program Home

For information, contact jsm@amstat.org or phone (888) 231-3473.

If you have questions about the Continuing Education program, please contact the Education Department.