Handle a range of possible input sources
make_readable_file(file, mmap = TRUE, compression = NULL, filesystem = NULL)
| file | A character file name, |
|---|---|
| mmap | Logical: whether to memory-map the file (default |
| compression | If the file is compressed, created a CompressedInputStream
with this compression codec, either a Codec or the string name of one.
If |
| filesystem | If not |
An InputStream or a subclass of one.