R: Handle a range of possible input sources

make_readable_file {arrow} | R Documentation

## Handle a range of possible input sources

### Description

Handle a range of possible input sources

### Usage

    make_readable_file(file, mmap = TRUE, compression = NULL)

### Arguments

`file` | A character file name, `raw` vector, or an Arrow input stream
`mmap` | Logical: whether to memory-map the file (default `TRUE`)
`compression` | If the file is compressed, created a CompressedInputStream with this compression codec, either a Codec or the string name of one. If `NULL` (default) and `file` is a string file name, the function will try to infer compression from the file extension.

### Value

An `InputStream` or a subclass of one.

[Package arrow version 1.0.1 Index]