Rcpp provides seamless integration of C++ code in R.
Rcpp is an r package allowing integration with c++ code. R data types (SEXP) are matched to C++ objects in a class hierarchy. All R types are supported and each type is mapped to a dedicated class.
Repositories
Vignettes
- Rcpp-introduction
- Rcpp-FAQ
- Rcpp-attributes
- Rcpp-extending
- Rcpp-modules
- Rcpp-package
- Rcpp-quickref
- Rcpp-sugar
- Rcpp-JSS-2011
- Rcpp-libraries
Books
- Seamless R and C++ Integration with Rcpp by Dirk Eddelbuettel
Other resources
- Extending R with C++: A Brief Introduction to Rcpp by Dirk Eddelbuettel and James Balamuta (2018)
- Rcpp: Seamless R and C++ Integration by Dirk Eddelbuettel and Romain Francois in the Journal of Statistical Software (2011)
- Many presentations by Dirk Eddelbuettel
- user2012 tutorial documents for introduction and advanced applications
- Mailing list
- Gallery
- Posts on R-bloggers
Related tags
- r and c++
- hpc for high performance computing
- integration and cross-language