suppressMessages(library(Rcpp)) suppressMessages(library(inline)) suppressMessages(library(rbenchmark)) ## NOTE: Within this section, the new way to compile Rcpp code inline has been ## written. Please use the code next as a template for your own project, and ## do NOT use the old code below cppFunction(' NumericVector rcppGamma(NumericVector x){ int n = x.size(); const double y = 1.234; for (int i=0; i