Coatless Rcpp R&D
Open-source Quarto extensions, templates, and example projects.
rcpp-call-r-function
Calling a User-Supplied R Function from C++ with Rcpp::Function
rcpp-external-pointer
Managing a Stateful C++ Object from R with an External Pointer
rcpp-routine-registration
Native Routine Registration and useDynLib for Compiled Entry Points
rcpp-warnings-messages
Emitting R Warnings and Messages from C++ via the Condition System
rcpp-template-dispatch
Type-Generic Rcpp Functions via Templates and Runtime Dispatch
rcpp-register-ccallable
Exposing a Compiled C Routine to Other Packages via R_RegisterCCallable
rcpp-armadillo
Advanced Armadillo: Zero-Copy Constructors, Subviews, and Field/Cube Structures
rcpp-pkg-config
Linking a System Library with pkg-config and a Portable configure Script
rcpp-optional-system-lib
Making a System Library Optional with configure Detection and a Pure-C++ Fallback
rcpp-linkingto-gsl
Linking a System Library Through an R-Package Wrapper with LinkingTo
rcpp-headers-src
v0.0.1Rcpp: Using header to share C++ code within the same directory
★ 5
rcpp-headers-subdirs
Rcpp: Including C++ code in a Subdirectory within Src
★ 17 1 issues
rcpp-custom-wrap-as
Rcpp: Writing custom ‘as’ and ‘wrap’ converters for a user-defined C++ type
★ 1
rcpp-cpp11-usage
v0.0.800Rcpp: Selecting the C++ standard a package compiles against with CXX_STD
★ 2
r-c-api-remap-printf
R’s C API Demo: Remapping C’s printf() to Rprintf() and capturing console output
★ 3
rcpp-and-fortran
Rcpp and Fortran: Calling a Fortran routine from Rcpp via iso_c_binding
rcpp-modules-student
v0.0.1Rcpp: Export a C++ Class into R using Rcpp Modules. For this example, we aim to implement a custom student class.
★ 18
rcpp-c-and-openmp
Rcpp, C, and OpenMP: Enabling Parallelized C with OpenMP to be Surfaced in R with Rcpp
★ 7
rcpp-modules-bank-account
Rcpp: Export a C++ Class into R using Rcpp Modules. Example given by constructing a bank account class and exporting it into R
★ 1
rcpp-shared-cpp-functions
Rcpp: Package header-only C++ libraries in one package and retrieve the functions from another.
★ 4
rcpp-and-doparallel
Rcpp, foreach, and doParallel: Using an Rcpp Function inside a parallel region created by doParallel and foreach
★ 10
rcpp-rng-parallel
Rcpp and dqrng: Independent, reproducible parallel random number streams
cpp11-openmp
cpp11 and OpenMP: Parallelizing a C++ routine with OpenMP inside a cpp11 function
★ 1
rcpp-openmp
Rcpp and OpenMP: Parallelizing a C++ routine with OpenMP inside an Rcpp function
rcpp-and-mirai
Rcpp and mirai: Distributing a packaged Rcpp function in parallel across mirai daemons