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 124 articles , 2 standard articles )
Showing results 1 to 20 of 124.
Sorted by year (- 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
- Bhattacharya, Arnab; Wilson, Simon P.; Soyer, Refik: A Bayesian approach to modeling mortgage default and prepayment (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; Kris Boudt; Leopoldo Catania: Generalized Autoregressive Score Models in R: The GAS Package (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
- Mickaël Binois and Victor Picheny: GPareto: An R Package for Gaussian-Process-Based Multi-Objective Optimization and Analysis (2019) not zbMATH
- Mikkel Meyer Andersen: mitolina: MITOchondrial LINeage Analysis (2019) not zbMATH
- Rui Portocarrero Sarmento, Luís Lemos, Mário Cordeiro, Giulio Rossetti, Douglas Cardoso: DynComm R Package - Dynamic Community Detection for Evolving Networks (2019) arXiv
- Sun, Qiang; Zhu, Ruoqing; Wang, Tao; Zeng, Donglin: Counting process-based dimension reduction methods for censored outcomes (2019)
- Zhu, Xiaotian; Hunter, David R.: Clustering via finite nonparametric ICA mixture models (2019)
- Augustine, Ben C.; Royle, J. Andrew; Kelly, Marcella J.; Satter, Christopher B.; Alonso, Robert S.; Boydston, Erin E.; Crooks, Kevin R.: Spatial capture-recapture with partial identity: an application to camera traps (2018)
- Bercin, Kutalmis M.; Xie, Zheng-Tong; Turnock, Stephen R.: Exploration of digital-filter and forward-stepwise synthetic turbulence generators and an improvement for their skewness-kurtosis (2018)
- Bilgrau, Anders Ellern; Brøndum, Rasmus Froberg; Eriksen, Poul Svante; Dybkær, Karen; Bøgsted, Martin: Estimating a common covariance matrix for network meta-analysis of gene expression datasets in diffuse large B-cell lymphoma (2018)
- Duncan Lee; Alastair Rushworth; Gary Napier: Spatio-Temporal Areal Unit Modeling in R with Conditional Autoregressive Priors Using the CARBayesST Package (2018) not zbMATH
- Emily Morris, Kevin He, Yanming Li, Yi Li, Jian Kang: SurvBoost: An R Package for High-Dimensional Variable Selection in the Stratified Proportional Hazards Model via Gradient Boosting (2018) arXiv
- Eun-Kyung Lee: PPtreeViz: An R Package for Visualizing Projection Pursuit Classification Trees (2018) not zbMATH