Reads the tabular data as a data frame.
# S3 method for TabularTextFile
readDataFrame(this, con=NULL, rows=NULL, nrow=NULL, trimQuotes=FALSE, ..., debug=FALSE,
verbose=FALSE)Returns a data.frame.
(Internal) If a connection, then it is used, otherwise
a new file connection is temporarily opened and used.
(Optional) An integer vector specifying which rows to
be read.
(Optional) An integer specifying how many rows to read.
If specified, it corresponds to specifying rows=seq_len(nrow).
(Optional) If TRUE, quotes are trimmed from numeric
columns before parsing them as numerics. This makes it possible to
read quoted numeric values.
Passed to internal *getReadArguments().
If TRUE, additional details on the file and how it was
read is returned as part of the attributes.
A logical or a Verbose object.
If a specific data column is specified as being numeric in
argument colClasses and that column contains quoted values
it is necessary to use argument trimQuotes=TRUE, otherwise
scan() throws an exception similar to:
scan() expected 'a real', got '"1.0"'.
Henrik Bengtsson
For more information see TabularTextFile.