From e6918187568dbd01842d8d1d2c808ce16a894239 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 21 Apr 2024 13:54:28 +0200 Subject: Adding upstream version 18.2.2. Signed-off-by: Daniel Baumann --- src/arrow/r/man/read_ipc_stream.Rd | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/arrow/r/man/read_ipc_stream.Rd (limited to 'src/arrow/r/man/read_ipc_stream.Rd') diff --git a/src/arrow/r/man/read_ipc_stream.Rd b/src/arrow/r/man/read_ipc_stream.Rd new file mode 100644 index 000000000..d4dd78314 --- /dev/null +++ b/src/arrow/r/man/read_ipc_stream.Rd @@ -0,0 +1,42 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/deprecated.R, R/ipc_stream.R +\name{read_arrow} +\alias{read_arrow} +\alias{read_ipc_stream} +\title{Read Arrow IPC stream format} +\usage{ +read_arrow(file, ...) + +read_ipc_stream(file, as_data_frame = TRUE, ...) +} +\arguments{ +\item{file}{A character file name or URI, \code{raw} vector, an Arrow input stream, +or a \code{FileSystem} with path (\code{SubTreeFileSystem}). +If a file name or URI, an Arrow \link{InputStream} will be opened and +closed when finished. If an input stream is provided, it will be left +open.} + +\item{...}{extra parameters passed to \code{read_feather()}.} + +\item{as_data_frame}{Should the function return a \code{data.frame} (default) or +an Arrow \link{Table}?} +} +\value{ +A \code{data.frame} if \code{as_data_frame} is \code{TRUE} (the default), or an +Arrow \link{Table} otherwise +} +\description{ +Apache Arrow defines two formats for \href{https://arrow.apache.org/docs/format/Columnar.html#serialization-and-interprocess-communication-ipc}{serializing data for interprocess communication (IPC)}: +a "stream" format and a "file" format, known as Feather. \code{read_ipc_stream()} +and \code{\link[=read_feather]{read_feather()}} read those formats, respectively. +} +\details{ +\code{read_arrow()}, a wrapper around \code{read_ipc_stream()} and \code{read_feather()}, +is deprecated. You should explicitly choose +the function that will read the desired IPC format (stream or file) since +a file or \code{InputStream} may contain either. +} +\seealso{ +\code{\link[=read_feather]{read_feather()}} for writing IPC files. \link{RecordBatchReader} for a +lower-level interface. +} -- cgit v1.2.3