0

I'm looking for a way to save a R dataframe in msgpack format.

With pandas we do that with df.to_msgpack, I've found this https://gist.github.com/abicky/4433343 to read msgpack[1] file in R.

So how to write a R dataframe in msgpack ?

[1] http://msgpack.org/

user3313834
  • 7,327
  • 12
  • 56
  • 99

1 Answers1

2

There is an older R-based version for the pre-MsgPack 1.0 format on CRAN: msgpackR

I am using newer (post 1.4.0) MsgPack via headers and C++ bindings, but that packages is so far only in my GitHub repo: RcppMsgPack

The package is used as an optional compile-time choice for RcppRedis.

Dirk Eddelbuettel
  • 360,940
  • 56
  • 644
  • 725