[Rcpp-devel] Compile Error with Rcpp sugar all

Benjamin Ward (ENV) B.Ward at uea.ac.uk
Wed May 15 23:44:47 CEST 2013

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!


From: Dirk Eddelbuettel [edd at debian.org]
Sent: 15 May 2013 12:10
To: Dirk Eddelbuettel
Cc: Benjamin Ward (ENV); rcpp-devel at lists.r-forge.r-project.org
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 Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com

More information about the Rcpp-devel mailing list