Description Usage Arguments Value Examples
A helper function to create a map object for input to 'MsgPack'.
1 2 3 | msgpack_map(key, value)
msgpackMap(key, value)
|
key |
A list or vector of keys (coerced to list). Duplicate keys are fine (connects to std::multimap in C++). |
value |
A list or vector of values (coerced to list). This should be the same length as key. |
An data.frame also of class "map" that can be used as input to msgpack_pack.
1 2 3 | x <- msgpack_map(key=letters[1:10], value=1:10)
x_packed <- msgpack_pack(x)
x_unpacked <- msgpack_unpack(x_packed)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.