input.file {iotools} | R Documentation |
Load a file on the disk
Description
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.
Usage
input.file(file_name, formatter = mstrsplit, ...)
Arguments
file_name |
the input filename as a character string |
formatter |
a function for formatting the input. |
... |
other arguments passed to the formatter |
Value
the return type of the formatter function; by default a character matrix.
Author(s)
Taylor Arnold and Simon Urbanek
[Package iotools version 0.3-5 Index]