read_feather: Read and write feather files.

View source: R/feather.R

read_featherR Documentation

Read and write feather files.

Description

Read and write feather files.

Usage

read_feather(path, columns = NULL, ...)

write_feather(x, path, version = 1, ...)

Arguments

path

Path to feather file

columns

Columns to read (names or indexes), or a tidy selection specification of columns, as used in dplyr::select(). Default: Read all columns.

...

Additional arguments passed to the ⁠arrow::⁠ functions

x

A data frame to write to disk

version

integer in c(1, 2) indicating the Feather format version to write. For compatibility, the default for feather::write_feather() is 1.

Value

Both functions return a tibble/data frame. write_feather invisibly returns x (so you can use this function in a pipeline).

Examples

mtcars2 <- read_feather(feather_example("mtcars.feather"))
mtcars2

feather documentation built on Dec. 6, 2025, 5:07 p.m.