Learn R Programming

RcppExamples: Simple Examples for Rcpp

About

This package regroups a couple of very simple examples for Rcpp.

A large number of more comprehensive examples are provided by the Rcpp Gallery.

Installation

As the package is on CRAN, we can use the common approach of

install.packages("RcppExamples")

Author

Dirk Eddelbuettel and Romain Francois

License

GPL (>= 2)

Copy Link

Version

Install

install.packages('RcppExamples')

Monthly Downloads

177

Version

0.1.11

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Dirk Eddelbuettel

Last Published

September 3rd, 2026

Functions in RcppExamples (0.1.11)

RcppRNGsExample

Rcpp RNGs example
factor2char

Convert Index and String Vector into CharacterVector, and vice versa
RcppDateExample

C++ classes for interfacing date and datetime R objects
RcppExamples-package

Examples for the Rcpp R/C++ Interface library
RcppDataFrame

Rcpp::DataFrame example for Rcpp
RcppStringVectorExample

Example of using Rcpp StringVector (aka CharacterVector)
RcppListExample

Examples of uses of List
RcppNumericVectorExample

Rcpp NumericVector example
RcppMatrixExample

Example of using Rcpp NumericMatrix