Skip to content
Prev 2542 / 10988 Next

[Rcpp-devel] Short blog post on loop speed in R

On Sun, Jun 19, 2011 at 11:20 AM, Douglas Bates <bates at stat.wisc.edu> wrote:
Thanks for this, by the way.  I added it to the post (which got a
shout-out from David on the Revolutions blog), along with your
comments about apply().

Strictly speaking, it's 8 vs. 6 lines of code.  I guess "considerably
shorter" is in the eye of the beholder :).  It's a neat template
example, in any case.

-xian