On Thu, May 19, 2016 at 7:07 AM Dirk Eddelbuettel <e...@debian.org> wrote:

>
> I'd consider Rcpp::Function as a last resort. You do not need it here.
>

Yes I don't like using Rcpp:Function either however it isn't easy to
convert a data.frame into matrix in Rcpp. You have to write code to deal
with factors and non-numeric columns that might be passed in. Also the
original question was asked for SEXP objects. And I'm not sure how you
would deal with those without Rcpp::Function. If there is an easy way I
would be interested in learning about it.

Rgds
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to