Skip to content
Prev 4615 / 15274 Next

Index time change when coercing zoo object to xts

As the previous posters mentioned, without an example to work from we
can't really tell what the problem is.

Please post the versions of all software you are using, along with
reproducible code for us to try.

As Gabor pointed out, 'xts' converts user time classes internally to a
POSIXct representation.  This is done transparently and for internal
efficiency purposes, as well as to offer identical behavior regardless
of user preference.  Somewhere in the conversion it is possible that
we are losing precision from 'chron' to 'POSIXct'.

That said, I can't replicate your issue, so it may be fixed in recent releases.

HTH,
Jeff

On Thu, Jul 23, 2009 at 7:10 AM, Gabor
Grothendieck<ggrothendieck at gmail.com> wrote: