write_to_raw | R Documentation |
write_ipc_stream()
and write_feather()
write data to a sink and return
the data (data.frame
, RecordBatch
, or Table
) they were given.
This function wraps those so that you can serialize data to a buffer and
access that buffer as a raw
vector in R.
write_to_raw(x, format = c("stream", "file"))
x |
|
format |
one of |
A raw
vector containing the bytes of the IPC serialized data.
# The default format is "stream"
mtcars_raw <- write_to_raw(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.