[datatable-help] Unable to find difference between two IDates
Short, Tom
TShort at epri.com
Mon Jun 28 15:09:56 CEST 2010
Harish, I just committed a fix to R-forge that should fix this bug.
- Tom
> -----Original Message-----
> From: datatable-help-bounces at lists.r-forge.r-project.org
> [mailto:datatable-help-bounces at lists.r-forge.r-project.org]
> On Behalf Of Harish
> Sent: Sunday, June 27, 2010 01:38
> To: datatable-help at lists.r-forge.r-project.org
> Subject: [datatable-help] Unable to find difference between two IDates
>
> I am unable to find the difference between two IDate objects.
> The way I can get around it is to use Date. Am I doing
> something wrong here?
>
> ============
>
> a <- as.IDate( "2010-06-26" )
> b <- as.IDate( "2010-06-23" )
> a - b # Erroneously get "Time difference of NA days"
> as.Date( a ) - as.Date( b ) # Correctly get 3 days
>
> ============
>
>
> Regards,
> Harish
>
>
>
>
> _______________________________________________
> datatable-help mailing list
> datatable-help at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/d
atatable-help
>
More information about the datatable-help
mailing list