How we measure 'reads'
A 'read' is counted each time someone views a publication summary (such as the title, abstract, and list of authors), clicks on a figure, or views or downloads the full-text. Learn more
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++ Stan...
This document provides a short overview of how to use Rcpp (Eddelbuettel and François, 2010a) when writing an R package. It shows how usage of the function Rcpp.package.skeleton which creates a com-plete and self-sufficient example package using Rcpp. All components of the directory tree created by Rcpp.package.skeleton are discussed in detail. Thi...
This note describes Rcpp sugar which has been introduced in version 0.8.3 of Rcpp (Eddelbuettel and François, 2010). Rcpp sugar brings a higher-level of abstraction to C++ code written using the Rcpp API. Rcpp sugar is based on expression templates (Abrahams and Gurtovoy, 2004; Vandevoorde and Josuttis, 2003) and provides some 'syntactic sugar' fac...
This note discusses Rcpp modules which have been introduced in version 0.8.1 of the Rcpp package. Rcpp modules allow programmers to expose C++ functions and classes to R with relative ease. Rcpp modules are inspired from the Boost.Python C++ library (Abrahams and Grosse-Kunstleve, 2003) which provides the same features (and much more) for Python.
The sos package provides a means to quickly and flexibly search the help pages of contributed packages, finding functions and datasets in seconds or minutes that could not be found in hours or days by any other means we know. Its findFn function accesses Jonathan Baron’s R Site Search database and returns the matches in a data frame of class "findF...