[R] how to record the CPU time

Jeff Gentry jgentry at jimmy.harvard.edu
Wed Jan 15 15:59:28 CET 2003


On Wed, 15 Jan 2003, chenwj wrote:
> is there any function can record the CPU time when running a paragraph of
> code?

system.time() should do what you want, I believe.

> if it is, can anyone show me an little example of how-to?

There are examples of usage in help("system.time")

-J




More information about the R-help mailing list