Re: [Rcpp-devel] Question about custom as and wrap functions

2013-04-24 Thread JJ Allaire
Hi Finlay, If you name your include file the same name as your package then it will be included automatically in RcppExports.cpp. The convention at work here is that any custom as/wrap handlers should be accumulated (or referenced from) that single file. This mirrors the existing convention used b

[Rcpp-devel] Question about custom as and wrap functions

2013-04-24 Thread Finlay Scott
Hi First of all I want to say how impressed I am with Rcpp. I think it is going to be very useful for some of the packages I am developing. Thank you very much for developing it. I have a question regarding writing custom as and wrap functions for my own classes. Following the example in: http://