Seamless R and C++ integration with Rcpp - Eddelbuettel, Dirk (Use R!, 2013)