proc.time()
proc.time
determines how much time (in seconds) the currently
running R process already consumed.
It is most useful for ``timing'' the evaluation of R expressions,
which can be done conveniently with system.time
.
system.time
for timing a valid R expressionptm <- proc.time() for (i in 1:50) mad(runif(500)) proc.time() - ptm