Rcpp
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.
Keywords for this software
References in zbMATH (referenced in 147 articles , 2 standard articles )
Showing results 1 to 20 of 147.
Sorted by year (- Giovanna Jona Lasinio; Gianluca Mastrantonio; Mario Santoro: CircSpaceTime: an R package for spatial and spatio-temporal modeling of Circular data (2020) arXiv
- Alireza S. Mahani; Mansour T.A. Sharabiani: Bayesian, and Non-Bayesian, Cause-Specific Competing-Risk Analysis for Parametric and Nonparametric Survival Functions: The R Package CFC (2019) not zbMATH
- Andrew M. Raim, Scott H. Holan, Jonathan R. Bradley, Christopher K. Wikle: An R Package for Spatio-Temporal Change of Support (2019) arXiv
- Andrew Thomas Jones, Hien Duy Nguyen, Jessica Juanita Bagnall: BoltzMM: an R package for maximum pseudolikelihoodestimation of fully-visible Boltzmann machines (2019) not zbMATH
- Angela Bitto-Nemling, Annalisa Cadonna, Sylvia Frühwirth-Schnatter, Peter Knaus: Shrinkage in the Time-Varying Parameter Model Framework Using the R Package shrinkTVP (2019) arXiv
- Bauer, Verena; Fürlinger, Karl; Kauermann, Göran: A note on parallel sampling in Markov graphs (2019)
- Berchuck, Samuel I.; Mwanza, Jean-Claude; Warren, Joshua L.: Diagnosing glaucoma progression with visual field data using a spatiotemporal boundary detection method (2019)
- Bhattacharya, Arnab; Wilson, Simon P.; Soyer, Refik: A Bayesian approach to modeling mortgage default and prepayment (2019)
- Chakraborty, Saptarshi; Khare, Kshitij: Consistent estimation of the spectrum of trace class data augmentation algorithms (2019)
- Daisuke Murakami, Narumasa Tsutsumida, Takahiro Yoshida, Tomoki Nakaya, Binbin Lu: Scalable GWR: A linear-time algorithm for large-scale geographically weighted regression with polynomial kernels (2019) arXiv
- David Ardia; Keven Bluteau; Kris Boudt; Leopoldo Catania; Denis-Alexandre Trottier: Markov-Switching GARCH Models in R: The MSGARCH Package (2019) not zbMATH
- David Ardia; Kris Boudt; Leopoldo Catania: Generalized Autoregressive Score Models in R: The GAS Package (2019) not zbMATH
- Gronau, Quentin F.; Wagenmakers, Eric-Jan; Heck, Daniel W.; Matzke, Dora: A simple method for comparing complex models: Bayesian model comparison for hierarchical multinomial processing tree models using Warp-III bridge sampling (2019)
- Haziq Jamil, Wicher Bergsma: iprior: An R Package for Regression Modelling using I-priors (2019) arXiv
- Ickowicz, Adrien; Ford, Jessica; Hayes, Keith: A mixture model approach for compositional data: inferring land-use influence on point-referenced water quality measurements (2019)
- Iñaki Ucar; Bart Smeets; Arturo Azcorra: simmer: Discrete-Event Simulation for R (2019) not zbMATH
- João Duarte; Vinícius Mayrink: slfm: An R Package to Evaluate Coherent Patterns in Microarray Data via Factor Analysis (2019) not zbMATH
- Johnson, Margaret; Caragea, Petruţa C.; Meiring, Wendy; Jeganathan, C.; Atkinson, Peter M.: Bayesian dynamic linear models for estimation of phenological events from remote sensing data (2019)
- Jonathon Love; Ravi Selker; Maarten Marsman; Tahira Jamil; Damian Dropmann; Josine Verhagen; Alexander Ly; Quentin Gronau; Martin Šmíra; Sacha Epskamp; Dora Matzke; Anneliese Wild; Patrick Knight; Jeffrey Rouder; Richard Morey; Eric-Jan Wagenmakers: JASP: Graphical Statistical Software for Common Statistical Designs (2019) not zbMATH
- Julien Chiquet, Pierre Barbillon, Timothée Tabouy: missSBM: An R Package for Handling Missing Values in the Stochastic Block Model (2019) arXiv