Dear all,
I just found a weird behavior of the timeDate related functions Sys.timeDate()
and as.timeDate().
Both of them take place when showing fractions of seconds and I think they might
have the same source.
Do you know if it should be considered a bug of Sys.timeDate()? Also, what is a
good way to generate timeDate with fractions of seconds from strings? I know I
can just get the whole part of seconds and add fractions to it. That is a little
bit unnecessarily awkward IMO. Thanks!
- Alex
Below is my whole session:
R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows"
Platform: i386-pc-mingw32/i386 (32-bit)
> require(timeDate)
> Sys.timeDate()
New_York
[1] [2012-10-09 14:35:21]> options("digits.secs"=3)
> Sys.timeDate()
New_York
[1] [NA]
Warning message> Sys.time()
[1] "2012-10-09 14:43:45.303 EDT"> as.timeDate("2012-10-09 14:43:45.303 EDT")
New_York
[1] [NA]
Warning message> as.timeDate("2012-10-09 14:43:45.303")
New_York
[1] [NA]
Warning message
[[alternative HTML version deleted]]