make_readable_file: Handle a range of possible input sources

View source: R/io.R

make_readable_fileR Documentation

Handle a range of possible input sources

Description

Handle a range of possible input sources

Usage

make_readable_file(file, mmap = TRUE, random_access = TRUE)

Arguments

file

A character file name, raw vector, or an Arrow input stream

mmap

Logical: whether to memory-map the file (default TRUE)

random_access

Logical: whether the result must be a RandomAccessFile

Value

An InputStream or a subclass of one.


arrow documentation built on Sept. 11, 2024, 8:02 p.m.