write_ipc_stream()
和 write_feather()
將資料寫入接收器並傳回它們被給予的資料 (data.frame
、RecordBatch
或 Table
)。此函數包裝了這些函數,以便您可以將資料序列化到緩衝區,並在 R 中以 raw
向量的形式存取該緩衝區。
用法
write_to_raw(x, format = c("stream", "file"))
參數
- x
data.frame
、RecordBatch 或 Table- format
c("stream", "file")
其中之一,指示要使用的 IPC 格式