EconPapers    
Economics at your fingertips  
 

Rcpp: Seamless R and C++ Integration

Dirk Eddelbuettel and Romain Francois

Journal of Statistical Software, 2011, vol. 040, issue i08

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.

Date: 2011-04-13
References: View complete reference list from CitEc
Citations: View citations in EconPapers (106)

Downloads: (external link)
https://www.jstatsoft.org/index.php/jss/article/view/v040i08/v40i08.pdf
https://www.jstatsoft.org/index.php/jss/article/do ... 08/Rcpp_0.9.4.tar.gz
https://www.jstatsoft.org/index.php/jss/article/do ... ile/v040i08/v40i08.R

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:jss:jstsof:v:040:i08

DOI: 10.18637/jss.v040.i08

Access Statistics for this article

Journal of Statistical Software is currently edited by Bettina Grün, Edzer Pebesma and Achim Zeileis

More articles in Journal of Statistical Software from Foundation for Open Access Statistics
Bibliographic data for series maintained by Christopher F. Baum ().

 
Page updated 2025-03-19
Handle: RePEc:jss:jstsof:v:040:i08