suppressMessages(library(Rcpp)) suppressMessages(library(inline)) suppressMessages(library(rbenchmark)) rcppGamma <- cxxfunction(signature(xs="numeric"), plugin="Rcpp", body=' NumericVector x(xs); int n = x.size(); // Initialize Random number generator RNGScope scope; const double y = 1.234; for (int i=0; i