Skip to content
Prev 8732 / 15274 Next

issues with zoo masking as.Date function, resulting in issues with as.Date

Thanks for the tip and workaround, this sounds like a bug with zoo package.

-Ivan

-----Original Message-----
From: Yohan Chalabi [mailto:chalabi at phys.ethz.ch] 
Sent: Tuesday, October 18, 2011 8:49 AM
To: Gabor Grothendieck
Cc: Zhang, Ivan; r-sig-finance
Subject: Re: [R-SIG-Finance] issues with zoo masking as.Date function, resulting in issues with as.Date
On 14 oct. 2011, at 20:19, Gabor Grothendieck wrote:

            
?? timeDate does export as.Date.timeDate as an S3 method.

If the zoo package overwrites a base function and do not import namespaces of other packages which extend it. It cannot work.

in this particular example

base::as.Date(timeDate('2011-10-10'))

works.
----------------------------------------------------------------------
This message w/attachments (message) is intended solely ...{{dropped:7}}