Skip to content
Prev 12383 / 398502 Next

vector angle

On Tue, 17 Jul 2001, Laurent Gautier wrote:

            
Not a mistake, but a misconception perhaps.

Bill Venables and I deliberately illustrated a number of approaches in
Chapter 7 of S Programming using S+3.4, S+2000, S+5.1 and R 0.90.1 to show
that (p. 152)

  Since our aim is not to compare systems, the timings here using
  different engines were done on different systems, all of which had
  ample RAM.  It is worth noting that the different S implementations
  used here do differ, sometimes radically, in their ordering of
  approaches, and the ordering might be different again on machines with
  less RAM available.

One example (using a for loop) shows a 17x speed up in S+5.1, and a 50%
speed-up in R.

Also, later versions of R show some differences, especially due to the
new memory management system (and lapply has been altered since those
timings too).