Skip to content
Prev 4901 / 15274 Next

write.xts() and read.xts()

The one issue with text based storage is that attributes are difficult
to handle.  As attributes on xts objects (any objects) can be any
legal R object, it requires some form of serialization to record as
text.

This is doable with dput.  Aside from Gabor's suggestion, the only way
to save everything in an xts object is to save it in binary form via
save/.saveRDS.  This should be portable and fast, though not obviously
in text/human-readable form.

That said, I'll add write.xts and read.xts at some point in the near future.

Thanks,
Jeff

On Fri, Sep 25, 2009 at 9:54 AM, Gabor Grothendieck
<ggrothendieck at gmail.com> wrote: