[R-SIG-Finance] issues with zoo masking as.Date function, resulting in issues with as.Date

Gabor Grothendieck ggrothendieck at gmail.com
Tue Oct 18 16:10:35 CEST 2011


On Tue, Oct 18, 2011 at 8:53 AM, Zhang, Ivan
<ivan.zhang at bankofamerica.com> wrote:
> Thanks for the tip and workaround, this sounds like a bug with zoo package.
>
> -Ivan
>

All as.Date methods from the base are fully exported.  Only timeDate's
are not (note the askerisk):

> library(timeDate)
> methods(as.Date)
[1] as.Date.character as.Date.date      as.Date.dates     as.Date.default
[5] as.Date.factor    as.Date.numeric   as.Date.POSIXct   as.Date.POSIXlt
[9] as.Date.timeDate*

   Non-visible functions are asterisked

To be fair, zoo has non fully exported as.Date methods too but that is
not the cause of this particular problem and zoo's are being changed
in the devel version as well.

-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



More information about the R-SIG-Finance mailing list