Unlimited learning, half price | 50% off
Get 50% off unlimited learning

Rcpp (version 0.8.9)

Rcpp-package: R / C++ interface

Description

The Rcpp package provides C++ classes that greatly facilitate interfacing C or C++ code in Rpackages using the .Call interface provided by R.

Arguments

Introduction

Rcpp provides C++ classes to facilitate manipulation of a large number of R data structures : vectors, functions, environments, ... The "Rcpp-introduction" vignette gives an introduction on the package

Usage for package building

The "Rcpp-package" vignette documents how to use Rcpp in client packages.

Examples

Run this code
# introduction to Rcpp
vignette( "Rcpp-introduction" )	

# information on how to build a package that uses Rcpp
vignette( "Rcpp-package" )

Run the code above in your browser using DataLab