Description Usage Arguments Value
A wrapper around data.table::fread()
that automatically fills the
col.names
and colClasses
parameters from a table design.
1 | td_fread(input, file, text, cmd, table_design, ...)
|
input |
A single character string. The value is inspected and deferred to either |
file |
File name in working directory, path to file (passed through |
text |
The input data itself as a character vector of one or more lines, for example as returned by |
cmd |
A shell command that pre-processes the file; e.g. |
table_design |
a table_design |
... |
passed on to |
A data.table
by default, otherwise a data.frame
when argument data.table=FALSE
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.