[R] Time-measurement in milliseconds

Sydler, Dominik Dominik.Sydler at eawag.ch
Mon Nov 7 16:09:37 CET 2005


Hi there

I'm loking for a time-measurement to measure time-differences in
milliseconds.
On my search, I only found the following:
 - package "base": Sys.time()
    -> only second-accuracy
 - package "R.utils": System$currentTimeMillis()
    -> returns integer of milliseconds, but accuracy is only whole
seconds too.
At the moment I run every bit of code to measure 1000-times to be able
to calculate time in milliseconds... ;-)

Has anyone a method to get milliseconds?

Thanks for any help.




More information about the R-help mailing list