articleJournal of Statistical SoftwareJan 1, 2011HEDIAMOND OA

Rcpp : Seamless R and C++ Integration

Indexed incrossrefdoaj

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.

Citation impact

1,379
total citations
FWCI
40.88
Percentile
100%
References
15
Citations per year

Authors

2

Topics & keywords

Keywords
  • Computer science
  • Programming language
  • Code (set theory)
  • Hierarchy
  • Class (philosophy)
  • Extensibility
  • Simple (philosophy)
  • Object (grammar)
UN Sustainable Development Goals
  • Life below water
No related works found for this paper.