Rcpp: Seamless R and C++ Integration

The Rcpp package provides R functions as well as a C++ library which facilitate the integration of R and C++. R data types (SEXP) are matched to C++ objects in a class hierarchy. All R types are supported (vectors, functions, environment, etc ...) and each type is mapped to a dedicated class. For example, numeric vectors are represented as instances of the Rcpp::NumericVector class, environments are represented as instances of Rcpp::Environment, functions are represented as Rcpp::Function, etc ... The "Rcpp-introduction" vignette provides a good entry point to Rcpp. Conversion from C++ to R and back is driven by the templates Rcpp::wrap and Rcpp::as which are highly flexible and extensible, as documented in the "Rcpp-extending" vignette. Rcpp also provides Rcpp modules, a framework that allows exposing C++ functions and classes to the R level. The "Rcpp-modules" vignette details the current set of features of Rcpp-modules. Rcpp includes a concept called Rcpp sugar that brings many R functions into C++. Sugar takes advantage of lazy evaluation and expression templates to achieve great performance while exposing a syntax that is much nicer to use than the equivalent low-level loop code. The "Rcpp-sugar" vignette gives an overview of the feature. Rcpp attributes provide a high-level syntax for declaring C++ functions as callable from R and automatically generating the code required to invoke them. Attributes are intended to facilitate both interactive use of C++ within R sessions as well as to support R package development. Attributes are built on top of Rcpp modules and their implementation is based on previous work in the inline package. Many examples are included, and around 900 unit tests in 446 unit test functions provide additional usage examples. An earlier version of Rcpp, containing what we now call the 'classic Rcpp API' was written during 2005 and 2006 by Dominick Samperi. This code has been factored out of Rcpp into the package RcppClassic, and it is still available for code relying on the older interface. New development should always use this Rcpp package instead. Additional documentation is available via the paper by Eddelbuettel and Francois (2011, JSS) paper and the book by Eddelbuettel (2013, Springer); see 'citation("Rcpp")' for details.

Version: 0.11.2
Depends: R (≥ 3.0.0)
Imports: methods
Suggests: RUnit, inline, rbenchmark, highlight
Published: 2014-06-08
Author: Dirk Eddelbuettel, Romain Francois, JJ Allaire, Kevin Ushey, Douglas Bates, and John Chambers
Maintainer: Dirk Eddelbuettel <edd at debian.org>
BugReports: https://github.com/RcppCore/Rcpp/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: http://www.rcpp.org, http://dirk.eddelbuettel.com/code/rcpp.html, https://github.com/RcppCore/Rcpp
NeedsCompilation: yes
Citation: Rcpp citation info
Materials: README NEWS ChangeLog
In views: HighPerformanceComputing, NumericalMathematics
CRAN checks: Rcpp results

Downloads:

Reference manual: Rcpp.pdf
Vignettes: Rcpp-FAQ
Rcpp-attributes
Rcpp-extending
Rcpp-modules
Rcpp-package
Rcpp-quickref
Rcpp-sugar
Rcpp-introduction
Rcpp-unitTests
Package source: Rcpp_0.11.2.tar.gz
Windows binaries: r-devel: Rcpp_0.11.2.zip, r-release: Rcpp_0.11.2.zip, r-oldrel: Rcpp_0.11.2.zip
OS X Snow Leopard binaries: r-release: Rcpp_0.11.2.tgz, r-oldrel: Rcpp_0.11.2.tgz
OS X Mavericks binaries: r-release: Rcpp_0.11.2.tgz
Old sources: Rcpp archive

Reverse dependencies:

Reverse depends: acer, AdaptiveSparsity, Amelia, BayesComm, bcp, bcpa, bfp, bifactorial, CARBayes, CARBayesST, ccaPP, clogitL1, ClustVarLV, ConConPiWiFun, dbmss, dendextendRcpp, DepthProc, dils, diversitree, dslice, ecp, EpiContactTrace, fastGHQuad, FBFsearch, fugeR, GeneticTools, geoCount, gMWT, GOsummaries, GPvam, growcurves, growfunctions, GSE, GUTS, GxM, HUM, hypervolume, IBHM, IsingSampler, kmc, lm.br, lme4, mice, miscF, Mposterior, MVB, NetSim, ngspatial, NPBayesImpute, oem, orQA, PedCNV, PerMallows, phom, propagate, quadrupen, Rclusterpp, rcppbugs, RcppClassicExamples, RcppDE, RcppExamples, RcppOctave, RcppProgress, RcppRoll, RcppXts, remote, revealedPrefs, rexpokit, Rmalschains, Rmixmod, RmixmodCombi, robustgam, rotations, RSNNS, RSofia, Rsomoclu, RVowpalWabbit, sdcTable, sequences, simFrame, snplist, SOD, spacodiR, sparseHessianFD, surveillance, survSNP, tbart, treeclim, trustOptim, unmarked, VideoComparison, waffect, WideLM, wsrf, zic
Reverse imports: accelerometry, ALKr, apcluster, BalancedSampling, bayou, bfa, BIFIEsurvey, BIPOD, blockcluster, bvarsv, cda, CDM, cgAUC, CIDnetworks, cladoRcpp, classify, clere, climdex.pcic, clusteval, CMF, CompGLM, coneproj, CorReg, Delaporte, disclapmix, diveRsity, DNAprofiles, dplyr, DStree, eive, ESGtoolkit, EWGoF, fastM, fdaMixed, FDRreg, flip, FLSSS, forecast, Funclustering, fwsim, geiger, glcm, GMCM, gRbase, hawkes, HDPenReg, HLMdiag, hsphase, httpuv, icamix, icensmis, inarmix, iterpc, jaatha, KernSmoothIRT, Kmisc, LaF, lbfgs, marked, maxent, mcIRT, metafolio, mets, miceadds, minqa, mirt, miscset, mkde, mmand, Morpho, MPTinR, MTS, mvabund, mvnfast, mwaved, ndl, openair, openxlsx, PBC, pcalg, phylobase, planar, plotSEMM, plyr, polywog, PP, PReMiuM, pROC, prospectr, protViz, pryr, QRM, qVarSel, randomUniformForest, Rankcluster, rARPACK, RcppArmadillo, RcppBDT, RcppClassic, RcppCNPy, RcppEigen, RcppGSL, RcppMLPACK, RcppRedis, RcppSMC, RcppZiggurat, ReorderCluster, resemble, reshape2, rforensicbatwing, rgam, RInside, ripa, rkvo, rlme, RLRsim, rmgarch, rococo, roxygen2, rpg, rplexos, rPref, RProtoBuf, RQuantLib, RSNPset, Rtsne, Ruchardet, rugarch, Rvcg, SBSA, scrypt, sdcMicro, SelvarMix, sirt, slfm, SocialNetworks, spaMM, sparseLTSEigen, SpatialEpi, SpatialTools, spBayesSurv, StereoMorph, stochvol, stosim, strum, survAccuracyMeasures, synlik, TAM, termstrc, TFMPvalue, tvd, VIM, wordcloud, XBRL
Reverse linking to: accelerometry, acer, AdaptiveSparsity, ALKr, Amelia, apcluster, BalancedSampling, BayesComm, bayou, bcp, bcpa, bfa, bfp, bifactorial, BIFIEsurvey, BIPOD, blockcluster, btf, bvarsv, CARBayes, CARBayesST, ccaPP, cda, CDM, cgAUC, CIDnetworks, cladoRcpp, classify, clere, clogitL1, clusteval, ClustVarLV, CMF, CompGLM, ConConPiWiFun, coneproj, CorReg, Crossover, dbmss, Delaporte, dendextendRcpp, DepthProc, dils, disclapmix, diversitree, diveRsity, DNAprofiles, dplyr, dslice, DStree, ecp, eive, EpiContactTrace, ESGtoolkit, EWGoF, fastGHQuad, FastHCS, fastM, FastPCS, FastRCS, FBFsearch, fdaMixed, FDRreg, FisHiCal, flip, FLSSS, forecast, fugeR, Funclustering, fwsim, geiger, GeneticTools, geoCount, glcm, GMCM, gMWT, GOsummaries, GPvam, gRbase, gRim, growcurves, growfunctions, GSE, GUTS, hawkes, HDPenReg, HLMdiag, hsphase, httpuv, HUM, hypervolume, IBHM, icamix, icensmis, inarmix, IsingSampler, iterpc, jaatha, KernSmoothIRT, kmc, Kmisc, LaF, lbfgs, lm.br, lme4, lsgl, marked, maxent, mcIRT, metafolio, mets, mice, miceadds, minqa, mirt, miscF, miscset, mkde, mmand, Morpho, Mposterior, MPTinR, msgl, MTS, MVB, mvnfast, mwaved, ndl, NetSim, ngspatial, NPBayesImpute, oem, openair, openxlsx, orQA, PBC, pcalg, PedCNV, PerMallows, phom, phylobase, planar, plotSEMM, plyr, polywog, PP, PReMiuM, pROC, propagate, prospectr, pryr, psgp, QRM, quadrupen, qVarSel, randomUniformForest, Rankcluster, rARPACK, Rclusterpp, RcppArmadillo, RcppBDT, rcppbugs, RcppClassic, RcppClassicExamples, RcppCNPy, RcppDE, RcppEigen, RcppExamples, RcppGSL, RcppMLPACK, RcppOctave, RcppProgress, RcppRedis, RcppRoll, RcppSMC, RcppXts, RcppZiggurat, remote, ReorderCluster, resemble, reshape2, revealedPrefs, rexpokit, rforensicbatwing, rgam, RInside, ripa, rkvo, rlme, RLRsim, Rmalschains, rmgarch, Rmixmod, robustgam, robustHD, rococo, rotations, roxygen2, rpg, rplexos, rPref, RProtoBuf, RQuantLib, RSNNS, RSNPset, RSofia, Rtsne, Ruchardet, rugarch, Rvcg, RVowpalWabbit, SBSA, scrypt, sdcMicro, sdcTable, SelvarMix, sequences, sglOptim, simFrame, sirt, slfm, snplist, SocialNetworks, SOD, spacodiR, spaMM, sparseHessianFD, sparseLTSEigen, SpatialEpi, SpatialTools, spBayesSurv, StereoMorph, stochvol, stosim, strum, survAccuracyMeasures, surveillance, survSNP, synlik, TAM, TAQMNGR, tbart, termstrc, TFMPvalue, treeclim, trustOptim, tvd, unmarked, VideoComparison, VIM, waffect, WideLM, wordcloud, wsrf, XBRL, zic
Reverse suggests: cxxfunplus, devtools, hyperSpec, inline, RcppParallel