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.


References in zbMATH (referenced in 224 articles , 2 standard articles )

Showing results 1 to 20 of 224.
Sorted by year (citations)

1 2 3 ... 10 11 12 next

  1. Alexander Meier, Claudia Kirch, Haeran Cho: mosum: A Package for Moving Sums in Change-Point Analysis (2021) not zbMATH
  2. Clemens Schmid; Stephan Schiffels: bleiglas: An R package for interpolation and visualisation of spatiotemporal data with 3D tessellation (2021) not zbMATH
  3. Francesco Denti: intRinsic: an R package for model-based estimation of the intrinsic dimension of a dataset (2021) arXiv
  4. Gregor Zens, Sylvia Frühwirth-Schnatter, Helga Wagner: Efficient Bayesian Modeling of Binary and Categorical Data in R: The UPG Package (2021) arXiv
  5. Holbrook, Andrew J.; Loeffler, Charles E.; Flaxman, Seth R.; Suchard, Marc A.: Scalable Bayesian inference for self-excitatory stochastic processes applied to big American gunfire data (2021)
  6. Kendal B. Foster, Henrik Singmann: Another Approximation of the First-Passage Time Densities for the Ratcliff Diffusion Decision Model (2021) arXiv
  7. Mads Lindskou, Søren Højsgaard, Poul Svante Eriksen, Torben Tvedebrink: sparta: Sparse Tables and their Algebra for use in High Dimensional Bayesian Networks (2021) arXiv
  8. Martin Bladt; Jorge Yslas: matrixdist: An R Package for Inhomogeneous Phase-Type Distributions (2021) arXiv
  9. Mirshani, Ardalan; Reimherr, Matthew: Adaptive function-on-scalar regression with a smoothing elastic net (2021)
  10. Peder Bacher, Hjörleifur G. Bergsteinsson, Linde Frölke, Mikkel L. Sørensen, Julian Lemos-Vinasco, Jon Liisberg, Jan Kloppenborg Møller, Henrik Aalborg Nielsen, Henrik Madsen: onlineforecast: An R package for adaptive and recursive forecasting (2021) arXiv
  11. Pietrosanu, Matthew; Gao, Jueyu; Kong, Linglong; Jiang, Bei; Niu, Di: Advanced algorithms for penalized quantile and composite quantile regression (2021)
  12. Raim, Andrew M.; Holan, Scott H.; Bradley, Jonathan R.; Wikle, Christopher K.: Spatio-temporal change of support modeling with \textttR (2021)
  13. Rodney Sparapani, Charles Spanbauer, Robert McCulloch: Nonparametric Machine Learning and Efficient Computation with Bayesian Additive Regression Trees: The BART R Package (2021) not zbMATH
  14. Sam Parsons: splithalf: robust estimates of split half reliability (2021) not zbMATH
  15. Suchit Mehrotra, Arnab Maity: Variational Inference for Shrinkage Priors: The R package vir (2021) arXiv
  16. Thomas Nagler: R-Friendly Multi-Threading in C++ (2021) not zbMATH
  17. Vasilis Nikolaidis: The nnlib2 library and nnlib2Rcpp R package for implementing neural networks (2021) not zbMATH
  18. Wollschläger, Daniel: R compact. The fast introduction into data analysis (2021)
  19. Xing, Zhengrong; Carbonetto, Peter; Stephens, Matthew: Flexible signal denoising via flexible empirical Bayes shrinkage (2021)
  20. Zhi Zhao, Marco Banterle, Leonardo Bottolo, Sylvia Richardson, Alex Lewin, Manuela Zucknick: BayesSUR: An R package for high-dimensional multivariate Bayesian variable and covariance selection in linear regression (2021) arXiv

1 2 3 ... 10 11 12 next