Skip to content
Prev 4652 / 15274 Next

xts() speed on data with date index

The conversion to or from Date occurs when you store it (as you
noticed) or print it out or otherwise try to use it in a context that
requires a Date.  Your example does not do any of those so no
conversion was needed.  Try this:
...
   user  system elapsed
   0.39    0.00    0.39
...
   user  system elapsed
   0.08    0.00    0.11
On Sat, Jul 25, 2009 at 9:38 PM, Michael<michaellibeijing at gmail.com> wrote: