[Rcpp-devel] Dispatching based on SEXPTYPE

JJ Allaire jj.allaire at gmail.com
Thu Nov 22 15:37:08 CET 2012


>
> The constructor of Vector based in iterator takes care of the business. So
> you don't need to write a dispatch.
>
> I like the idea of DISPATCH_METHOD, we would need extras at least for
> RAWSXP, CPLXSXP and VECSXP .
>

This turned out really nice!


> I have this as RcppScript now on my ~/bin:
>

Should we consider adding this to the package in something like inst/utils
or would it be enough to just document the possibility?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20121122/b51a54df/attachment.html>


More information about the Rcpp-devel mailing list