[datatable-help] ITime class being lost

statquant3 statquant at outlook.com
Fri Jan 29 15:01:43 CET 2016


Using ITime it looks like basic operations are messing with type

R) seq(from = as.ITime('08:00'), to = as.ITime('09:00'),
by=as.ITime('00:05'))
 [1] 28800 29100 29400 29700 30000 30300 30600 30900 31200 31500 31800 32100
32400

R) cut(as.ITime('08:23'),breaks=seq(from = as.ITime('08:00'), to =
as.ITime('08:30'), by=as.ITime('00:05')))
[1] (3e+04,3.03e+04]
Levels: (2.88e+04,2.91e+04] (2.91e+04,2.94e+04] (2.94e+04,2.97e+04]
(2.97e+04,3e+04] (3e+04,3.03e+04] (3.03e+04,3.06e+04]

Any chance this gets fixed ?
I know ITime is not used that much...





--
View this message in context: http://r.789695.n4.nabble.com/ITime-class-being-lost-tp4716936.html
Sent from the datatable-help mailing list archive at Nabble.com.


More information about the datatable-help mailing list