[Rcpp-devel] Rcpp "version" of R's match function

Søren Højsgaard sorenh at math.aau.dk
Wed Nov 14 23:48:05 CET 2012


Dear all,

I need to call R's match function from a c++ program so I can do
 Rcpp::Function R_match("match");
 Rcpp::NumericVector out = R_match(x_, table_);

However, I wonder if there is such a "match" function in C++ that I can call (to avoid the extra overhead)?

Any ideas would be welcome

Regards
Søren 


More information about the Rcpp-devel mailing list