Feather provides binary columnar serialization for data frames. It is designed to make reading and writing data frames efficient, and to make sharing data across data analysis languages easy. This function writes both the original, limited specification of the format and the version 2 specification, which is the Apache Arrow IPC file format.
write_feather( x, sink, version = 2, chunk_size = 65536L, compression = c("default", "lz4", "uncompressed", "zstd"), compression_level = NULL )
A string file path, URI, or OutputStream, or path in a file
integer Feather file version. Version 2 is the current. Version 1 is the more limited legacy format.
For V2 files, the number of rows that each chunk of data
should have in the file. Use a smaller
Name of compression codec to use, if any. Default is
"lz4" if LZ4 is available in your build of the Arrow C++ library, otherwise
"uncompressed". "zstd" is the other available codec and generally has better
compression ratios in exchange for slower read and write performance
x, invisibly. Note that if
sink is an OutputStream,
the stream will be left open.
RecordBatchWriter for lower-level access to writing Arrow IPC data.
Schema for information about schemas and metadata handling.