Skip to content
Prev 32581 / 398530 Next

Slow computation in for loop

On Wed, 28 May 2003, Philippe Grosjean wrote:

            
Since we are told the results are all numeric, it would be even better to 
use a pre-computed numeric matrix to store them.  rbind.data.frame is 
about the worst possible choice in such circumstances.