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 130 articles , 2 standard articles )
Showing results 1 to 20 of 130.
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
- 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
- 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
- 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
- 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
- SimonBehrendt; ThomasDimpfl; Franziska J.Peter; David J.Zimmermann: RTransferEntropy - Quantifying information flow between different time series using effective transfer entropy (2019) not zbMATH
- Sun, Qiang; Zhu, Ruoqing; Wang, Tao; Zeng, Donglin: Counting process-based dimension reduction methods for censored outcomes (2019)
- Theodor Balan; Hein Putter: frailtyEM: An R Package for Estimating Semiparametric Shared Frailty Models (2019) not zbMATH
- Zhu, Xiaotian; Hunter, David R.: Clustering via finite nonparametric ICA mixture models (2019)
- Ziwen An, Leah F. South, Christopher C. Drovand: BSL: An R Package for Efficient Parameter Estimation for Simulation-Based Models via Bayesian Synthetic Likelihood (2019) arXiv