Paper record
W2159325249Rcpp: Seamless R and C++ Integration
Dirk Eddelbüttel, Romain François
- Year
- 2011
- Venue
- Journal of Statistical Software
- References
- 10
- Cited by
- 1,694
Details and counts from OpenAlex.
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.