Handle a range of possible input sources
make_readable_file(file, mmap = TRUE, random_access = TRUE)
file
: A character file name, raw
vector, or an Arrow input streammmap
: Logical: whether to memory-map the file (default TRUE
)random_access
: Logical: whether the result must be a RandomAccessFileAn InputStream
or a subclass of one.
Useful links