Re: [R] time question

2010-11-09 Thread David Winsemius
On Nov 9, 2010, at 9:18 AM, Ralf B wrote: I have this script which I use to get an epoch with accuracy of 1 second (based on R's inability to calculate millisecond-accurate timestamps -- at least I have not seen a straightforward solution :) ): From help page for Sys.time: "Value Sys.time re

[R] time question

2010-11-09 Thread Ralf B
I have this script which I use to get an epoch with accuracy of 1 second (based on R's inability to calculate millisecond-accurate timestamps -- at least I have not seen a straightforward solution :) ): nowInSeconds <- as.numeric(Sys.time()) nowInMS <- nowInSeconds * 1000 print(nowInSeconds) print