Skip to content
Prev 44394 / 398506 Next

How to write efficient R code

You may also be interested in reading the latest article on artima.com 
(http://www.artima.com/intv/abstreffi.html) where Bjarne Stroustrup (the 
creator of C++) discusses some of the benefits and costs of abstraction, 
as well as premature vs. prudent optimisation.

It is important to remember that the key to improving execution speeds 
is profiling your running code - we're not good at anticipating what 
parts of a program will be slow.  It's much better to run the program 
and see.

Hadley
Lennart.Borgman at astrazeneca.com wrote: