[R] Bug on chron

2010-09-09 Thread skan
hello I think I've found a bug I don't know if it's a chron bug or a R one. (05/12/05 23:00:00) +1/24 gives (05/12/05 24:00:00) instead of (05/13/05 00:00:00) it looks like the same but it's not because when you get the date of this datetime it says day 12 instead of 13. Please, forward

Re: [R] Bug on chron

2010-09-09 Thread Gabor Grothendieck
On Thu, Sep 9, 2010 at 11:59 AM, skan juanp...@gmail.com wrote: hello I think I've found a bug I don't know if it's a chron bug or a R one. (05/12/05 23:00:00) +1/24  gives (05/12/05 24:00:00) instead of (05/13/05 00:00:00) it looks like the same but it's not because when you get

Re: [R] Bug on chron

2010-09-09 Thread skan
Something strange. Your example work but... I have a zoo object. I extract its element 21 index(test[21]) [1] (05/12/05 23:00:00) index(test[21])+1/24 [1] (05/12/05 24:00:00) Why 24:00 ? packageDescription(chron)$Version [1] 2.3-35 R.version.string [1] R version 2.11.1

Re: [R] Bug on chron

2010-09-09 Thread Greg Snow
Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of skan Sent: Thursday, September 09, 2010 10:00 AM To: r-help@r-project.org Subject: [R] Bug on chron hello I think I've found a bug I don't know if it's a chron bug or a R one. (05/12/05

Re: [R] Bug on chron

2010-09-09 Thread skan
I don't know. You can look at the file, is very short. http://r.789695.n4.nabble.com/file/n2533223/test test -- View this message in context: http://r.789695.n4.nabble.com/Bug-on-chron-tp2533135p2533223.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] Bug on chron

2010-09-09 Thread skan
I've tried with other zoo series and I have always the same problem. -- View this message in context: http://r.789695.n4.nabble.com/Bug-on-chron-with-zoo-tp2533135p2533287.html Sent from the R help mailing list archive at Nabble.com. __