PS And building on top of my post and what Inaki told you, you can of course have C++ fancypants __provided the fancypants have something as for example the operator SEXP() in the Rcpp::Nullable(). In short, whatever you do, it (ultimately) has to convert to a SEXP or there is no calling from R.
Dirk -- https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ 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