Rcpp swMATH ID: 8385 Software Authors: Dirk Eddelbuettel; Romain Francois; JJ Allaire; John Chambers; Douglas Bates; Kevin Ushey Description: 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 891 unit tests in 430 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. Homepage: http://cran.r-project.org/web/packages/Rcpp/index.html Source Code: https://github.com/cran/Rcpp Related Software: R; RcppArmadillo; ggplot2; CRAN; CODA; Armadillo; microbenchmark; RcppEigen; igraph; CRAN Task Views; knitr; foreach; Matlab; dplyr; zoo; BayesDA; Python; data.table; glmnet; Matrix Cited in: 138 Publications Standard Articles 2 Publications describing the Software, including 1 Publication in zbMATH Year Seamless R and C++ integration with Rcpp. Zbl 1283.62001Eddelbuettel, Dirk 2013 all top 5 Cited by 356 Authors 5 McLachlan, Geoffrey John 5 Nguyen, Hien Duy 4 Park, Jaewoo 3 Haran, Murali 3 Raim, Andrew M. 2 Balamuta, James Joseph 2 Chambers, John McKinley 2 Culpepper, Steven Andrew 2 Eddelbüttel, Dirk 2 Groeneboom, Piet 2 Holbrook, Andrew J. 2 Jiang, Hui 2 Jochmann, Markus 2 Kahle, David J. 2 Kastner, Gregor 2 Selland Kleppe, Tore 2 Neerchal, Nagaraj K. 2 Osmundsen, Kjartan Kloster 2 Pietrosanu, Matthew 2 Raftery, Adrian E. 2 Rockwood, Nicholas J. 2 Suchard, Marc A. 2 Tamborrino, Massimiliano 2 van Wieringen, Wessel N. 2 Vannucci, Marina 2 Wollschläger, Daniel 1 Alizadeh, Morad 1 Alizon, Samuel 1 Alonso, Robert S. 1 Álvarez-Liébana, Javier 1 Álvarez-Pérez, Gonzalo 1 Andersen, Per Kragh 1 Anderson, Eric C. 1 Andersson, Claes 1 Atkinson, Peter M. 1 Augustine, Ben C. 1 Augustyniak, Maciej 1 Baele, Guy 1 Balakrishnan, Narayanaswamy 1 Barber, Antoni 1 Barber, Xavier 1 Battauz, Michela 1 Bauer, Verena 1 Baumer, Benjamin S. 1 Bee, Marco 1 Bellec, Pierre C. 1 Berchuck, Samuel I. 1 Bercin, Kutalmis M. 1 Bhattacharya, Arnab 1 Bilgrau, Anders Ellern 1 Billig Rose, Erica 1 Bitz, Cecilia M. 1 Bøgsted, Martin 1 Boydston, Erin E. 1 Bradley, Jonathan R. 1 Brčić, Mario 1 Brockmann, Dirk 1 Brøndum, Rasmus Froberg 1 Brouwer, Andrew F. 1 Browne, James C. 1 Buckwar, Evelyn 1 Burns, Randal 1 C. Marques F., Paulo 1 Caragea, Petruţa C. 1 Carbonetto, Peter 1 Cardot, Hervé 1 Carson, Jake 1 Cassese, Alberto 1 Castillo Neyra, Ricardo 1 Chakraborty, Saptarshi 1 Chen, Jiaxun 1 Chen, Zhe 1 Cheng, Ching-Wei 1 Cheysson, Felix 1 Choi, Hyejeong 1 Christou, Nicolas 1 Chung, Jaewon 1 Cibulkova, Jana 1 Condori-Pino, Carlos 1 Conesa, David 1 Cook, Dianne 1 Coquille, Loren 1 Coube-Sisqueille, Sébastien 1 Crook, Oliver M. 1 Crooks, Kevin R. 1 Czado, Claudia 1 da Conceição Amorim, Erick 1 da Silva, Natalia 1 Dai, Xiongtao 1 Daniel, Carrie R. 1 Dellicour, Simon 1 Demasse, Ramses Djidjou 1 Denuit, Michel M. 1 Diabaté, Modibo 1 Diana, Alex 1 Diao, Guoqing 1 Dickhaus, Thorsten 1 Didelot, Xavier 1 Dinov, Ivo D. 1 Director, Hannah M. ...and 256 more Authors all top 5 Cited in 48 Serials 16 Journal of Computational and Graphical Statistics 15 Computational Statistics and Data Analysis 11 Computational Statistics 10 The Annals of Applied Statistics 10 Statistics and Computing 7 Psychometrika 5 Journal of Statistical Computation and Simulation 4 Journal of Machine Learning Research (JMLR) 3 Statistical Science 3 Communications in Statistics. Simulation and Computation 3 Journal of Applied Statistics 3 Journal of Agricultural, Biological, and Environmental Statistics 2 Journal of the American Statistical Association 2 Journal of Mathematical Psychology 2 Journal of Multivariate Analysis 2 Lifetime Data Analysis 2 Journal of Theoretical Biology 2 Use R! 1 Computers and Fluids 1 Annals of the Institute of Statistical Mathematics 1 The Annals of Statistics 1 Biometrics 1 Biometrika 1 Metron 1 Theoretical Population Biology 1 Physica D 1 Econometric Reviews 1 Machine Learning 1 Neural Computation 1 European Journal of Operational Research 1 International Journal of Computer Mathematics 1 Bernoulli 1 Quantitative Finance 1 Applied Mathematics E-Notes 1 Statistical Modelling 1 SORT. Statistics and Operations Research Transactions 1 Statistical Methods and Applications 1 Advances in Data Analysis and Classification. ADAC 1 Computational & Mathematical Methods in Medicine 1 Electronic Journal of Statistics 1 Mathematical Modelling of Natural Phenomena 1 European Actuarial Journal 1 Springer Texts in Statistics 1 Epidemiologic Methods 1 Chapman & Hall/CRC Texts in Statistical Science Series 1 Japanese Journal of Statistics and Data Science 1 Chapman & Hall/CRC The R Series 1 Springer-Lehrbuch all top 5 Cited in 15 Fields 116 Statistics (62-XX) 20 Numerical analysis (65-XX) 12 Computer science (68-XX) 12 Biology and other natural sciences (92-XX) 10 Probability theory and stochastic processes (60-XX) 5 Game theory, economics, finance, and other social and behavioral sciences (91-XX) 3 Geophysics (86-XX) 2 Dynamical systems and ergodic theory (37-XX) 2 Operations research, mathematical programming (90-XX) 1 General and overarching topics; collections (00-XX) 1 Linear and multilinear algebra; matrix theory (15-XX) 1 Partial differential equations (35-XX) 1 Functional analysis (46-XX) 1 Fluid mechanics (76-XX) 1 Systems theory; control (93-XX) Citations by Year