Rcpp

Rcpp: Using C++ to improve performance in R

Rcpp is an R library allowing for easy integration of C++ code in your R workflow. It allows you to create optimized functions for when R just isn’t fast enough. It can also be used as a bridge between R and C++ giving you the ability to access the existing C++ libraries. Why use Rcpp? There are many use cases for Rcpp, and of course many of them assume that you are interested in primarily working in R.