[Rd] bug in package chron (PR#12599)

2008-08-26 Thread zengzhenxing
Full_Name: Zeng, zhenxing Version: 2.7.1 (2008-06-23) OS: windows XP Submission from: (NULL) (158.182.1.30) Dear Author I have run into a trouble in using chron package The data frame: a date time_fut expiry_day bid ask trade_day 1 2004-09-01 09:45:002004-10 12860 1288938

Re: [Rd] bug in package chron (PR#12599)

2008-08-26 Thread Gabor Grothendieck
chron represents times as a fraction of a day using doubles so seconds cannot necessarily be represented exactly thus this is an example of FAQ 7.31: http://cran.r-project.org/doc/manuals/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f Try this: library(chron) tt - c(09:45:00,