Re: [Rd] Questions on extending Rcpp wrap and as with templates

2014-05-02 Thread Dirk Eddelbuettel
On 2 May 2014 at 14:14, Florian Burkart wrote: | Hi everyone, | | I have been trying to extend Rcpp with my own wrap and as templates. Good post, wrong list. Can you please try again on rcpp-devel? You may need to subscribe first in order to post (ie pay the "trying to stop spammers tax").

[Rd] Questions on extending Rcpp wrap and as with templates

2014-05-02 Thread Florian Burkart
Hi everyone, I have been trying to extend Rcpp with my own wrap and as templates. Two issues: 1) I need to explicitly call wrap. Is that expected? So for example I wrote this specialization: template<> SEXP Rcpp::wrap(std::vector const& entries) { std::vector sec_times; std::vector doubles; fo