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

391

Version

0.1.10

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Dirk Eddelbuettel

Last Published

March 17th, 2025

Functions in RcppExamples (0.1.10)

RcppRNGsExample

Rcpp RNGs example
factor2char

Convert Index and String Vector into CharacterVector, and vice versa
RcppExamples-package

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

Examples of uses of List
RcppMatrixExample

Example of using Rcpp NumericMatrix
RcppStringVectorExample

Example of using Rcpp StringVector (aka CharacterVector)
RcppNumericVectorExample

Rcpp NumericVector example
RcppDateExample

C++ classes for interfacing date and datetime R objects
RcppDataFrame

Rcpp::DataFrame example for Rcpp