Seamless R and C++ Integration with Rcpp - Eddelbuettel, Dirk (Springer New York : Imprint: Springer, 2013)