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
Rcpp: Seamless R and C++ Integration | Eddelbuettel | Journal of Statistical Software
Authors: Dirk Eddelbuettel, Romain Francois
Title: Rcpp: Seamless R and C++ Integration
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.

Page views:: 21086. Submitted: 2010-11-15. Published: 2011-04-13.
Paper: Rcpp: Seamless R and C++ Integration     Download PDF (Downloads: 19258)
Rcpp_0.9.4.tar.gz: R source package Download (Downloads: 1319; 1MB)
v40i08.R: R example code from the paper Download (Downloads: 1474; 1KB)

DOI: 10.18637/jss.v040.i08

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.