Thanks Dirk, my apologies I think I'll keep it to this list for future Rcpp questions. I've updated my SO question now I've done as you suggest with .is_true() but I'll keep this question there from now on, and any new questions in future here for more Rcpp friendly heads!
Best, Ben. ________________________________________ From: Dirk Eddelbuettel [[email protected]] Sent: 15 May 2013 12:10 To: Dirk Eddelbuettel Cc: Benjamin Ward (ENV); [email protected] Subject: Re: [Rcpp-devel] Compile Error with Rcpp sugar all On 15 May 2013 at 05:55, Dirk Eddelbuettel wrote: | | On 15 May 2013 at 08:19, Benjamin Ward (ENV) wrote: | | Hi all, | | | | I'm having problem with some code I hope you can help illuminate: [...] | I saw your post on SO, and the decent vectorised non-Rcpp solution you get | thanks to user flodel. Let's now see where we get with Rcpp -- it may not be | much faster, but it is a useful learning example for you. And I now see that you cross-posted this question on SO and here. We generally discourage this as it makes it hard to keep answers to a question focused and together. Romain and I tend to recommend this list as you get more eyeballs familiar with Rcpp; some people still prefer SO. The choice is yours, please just don't post twice. Dirk -- Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
