Rcpp: Seamless R and C++ Integration

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...

Full description

Bibliographic Details
Main Authors: Dirk Eddelbuettel, Romain Francois
Format: Article
Language:English
Published: Foundation for Open Access Statistics 2011-04-01
Series:Journal of Statistical Software
Subjects:
Online Access:http://www.jstatsoft.org/v40/i08/paper
Description
Summary: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.
ISSN:1548-7660