input.file {iotools} | R Documentation |
input.file
efficently reads a file on the disk into R using
a formatter function. The function may be mstrsplit
,
dstrsplit
, dstrfw
, but can also be a user-defined
function.
input.file(file_name, formatter = mstrsplit, ...)
file_name |
the input filename as a character string |
formatter |
a function for formatting the input. |
... |
other arguments passed to the formatter |
the return type of the formatter function; by default a character matrix.
Taylor Arnold and Simon Urbanek