View source: R/small-utility-functions.R
readRegularASCII | R Documentation |
Reads a regular ASCII table using data.table:fread. Regular means file must have the same number of columns on each line.
readRegularASCII(file.string, verbose, layers = NULL, always.read = NULL)
file.string |
Character string of the full file path. |
verbose |
If TRUE give extra output |
layers |
A character string (or a vector of character strings) specifying which optional columns to be read . NULL (default) means read all. |
always.read |
A character string (or a vector of character strings) specifying which columns should always be read (ie "Lon", "Lat", etc) Can directly read gzipped files (.gz) is they are present. |
A data.table
Matthew Forrest matthew.forrest@senckenberg.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.