[Rcpp-devel] inline error
On 28 October 2013 at 14:15, Wray, Christopher wrote:
| Its just a typo on plugin (no s). And scope Rcpp::wrap. | | cfunc <- cxxfunction( signature(start="vector"), body = 'Rcpp::NumericVector x(start); return Rcpp::wrap(1);', plugin = "Rcpp" ) | | extra 's' on parameter plugins | | or | | cfunc <- cxxfunction( signature(start="vector"), body = 'using namespace Rcpp; NumericVector x(start); return wrap(1);', plugin = "Rcpp" ) | | both work. Nice. I didn't catch that. Guess it shows I am using mostl Rcpp Attributes these days :) Thanks! Good example why people should use the list (rather than private email) to have questions exposed to smarter readers. :) Dirk
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com