[Rcpp-devel] Parameter Naming

Darren Cook darren at dcook.org
Tue Aug 23 15:39:18 CEST 2011


P.S. I think it was obvious from the context that this version contained
a typo but, just in case anyone was confused, it should've looked like:

 nearlyAsGoodDemo <- cxxfunction(signature(x_="integer"), plugin='Rcpp',
 body='
       Rcpp::IntegerVector x(x_);
       return 2*x;
    ')


Darren


More information about the Rcpp-devel mailing list