On 26 October 2016 at 10:05, Hao Ye wrote: | In sum, the easiest may be to 'hide' the module and deal with this from the | R | side exposing both variants from there and then just calling the one you | have now. | | | I agree - though I don't think you even need two variants of the C++ function | if there's an R function to handle default arguments.
Good catch, and sloppy wording on my part. This is what I meant. Dirk -- http://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