fast.read.fwf | R Documentation |
Experimental replacement for utils::read.fwf that runs much faster.
However, it is much less flexible than utils::read.fwf
.
fast.read.fwf(
file,
widths,
col.names = NULL,
colClasses = NA,
tz = "",
dec = ".",
...
)
file |
Character vector: name of file |
widths |
Numeric vector: column widths. Negative numbers mean "skip this many columns". Use an NA as the final element if there are likely to be extra characters at the end of each row after the last one that you're interested in. |
col.names |
names for the columns that are NOT skipped |
colClasses |
can be used to control type conversion; see |
tz |
used in auto-conversion to |
dec |
the character to be assumed for decimal points. Passed to
|
... |
ignored |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.