Current Volume | Browse | Search | RSSHome | Instructions for Authors | JSS Style Guide | Editorial Board

Authors: Dirk Eddelbuettel, Romain Francois
Title: [download]
(12125)
Rcpp: Seamless R and C++ Integration
Reference: Vol. 40, Issue 8, Apr 2011
Submitted 2010-11-15, Accepted 2011-03-21
Type: Article
Abstract:

The Rcpp package simplifies integrating C++ code with R. It provides a consistent C++ class hierarchy that maps various types of R objects (vectors, matrices, functions, environments, . . . ) to dedicated C++ classes. Object interchange between R and C++ is managed by simple, flexible and extensible concepts which include broad support for C++ Standard Template Library idioms. C++ code can both be compiled, linked and loaded on the fly, or added via packages. Flexible error and exception code handling is provided. Rcpp substantially lowers the barrier for programmers wanting to combine C++ code with R.

Paper: [download]
(12125)
Rcpp: Seamless R and C++ Integration
(application/pdf, 442.2 KB)
Supplements: [download]
(788)
Rcpp_0.9.4.tar.gz: R source package
(application/x-gzip, 1.9 MB)
[download]
(899)
v40i08.R: R example code from the paper
(application/octet-stream, 1.3 KB)
Resources: BibTeX | OAI
Creative Commons License
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)
Current Volume | Browse | Search | RSSHome | Instructions for Authors | JSS Style Guide | Editorial Board