[R] system.time()

Fernando Saldanha fsaldan1 at gmail.com
Sun Apr 27 02:32:39 CEST 2008


I thought system.time() would return three numbers, the first two
adding up to the third one. However, this does not hold in my system
running Windows Vista Home Premium, with an Intel Core 2 Duo
processor. For example, using the code in the help for system.time()
(with one zero added), I got:

> system.time(for(i in 1:100) mad(runif(10000)))
   user  system elapsed
   0.27    0.00    0.25

Is this a problem with my system clock or am I missing something?

Thanks.

FS



More information about the R-help mailing list