Apache Arrow defines two formats for serializing data for interprocess communication (IPC):
a "stream" format and a "file" format, known as Feather. read_ipc_stream()
and read_feather() read those formats, respectively.
read_ipc_stream(x, as_data_frame = TRUE, ...)read_table(x, ...)
read_arrow(x, ...)
A character file name, raw vector, or an Arrow input stream
Should the function return a data.frame (default) or
an Arrow Table?
extra parameters passed to read_feather().
A data.frame if as_data_frame is TRUE (the default), or an
Arrow Table otherwise
read_arrow(), a wrapper around read_ipc_stream() and read_feather(),
is deprecated. You should explicitly choose
the function that will read the desired IPC format (stream or file) since
a file or InputStream may contain either. read_table(), a wrapper around
read_arrow(), is also deprecated
read_feather() for writing IPC files. RecordBatchReader for a
lower-level interface.