record_batch {arrow} | R Documentation |
Create a RecordBatch
Description
Create a RecordBatch
Usage
record_batch(..., schema = NULL)
Arguments
... |
A |
schema |
a Schema, or |
Examples
batch <- record_batch(name = rownames(mtcars), mtcars)
dim(batch)
dim(head(batch))
names(batch)
batch$mpg
batch[["cyl"]]
as.data.frame(batch[4:8, c("gear", "hp", "wt")])
[Package arrow version 16.1.0 Index]