Read in a file, fast and raw
read_file_raw(fil, buffer_size = 16384L)
file to read in (no path expansion is performed)
larger buffer sizes may speed up reading of very large files. It can also hurt performance, and this function reads in the entire file into memory, so a large buffer size also means more (temporary) memory will be allocated.
read_file_raw(system.file("extdat", "example.hdr", package = "construe"))