readDataFrame.TabularTextFile | R Documentation |
Reads the tabular data as a data frame.
## S3 method for class 'TabularTextFile'
readDataFrame(this, con=NULL, rows=NULL, nrow=NULL, trimQuotes=FALSE, ..., debug=FALSE,
verbose=FALSE)
con |
(Internal) If a |
rows |
(Optional) An |
nrow |
(Optional) An |
trimQuotes |
(Optional) If |
... |
Passed to internal |
debug |
If |
verbose |
A |
Returns a data.frame
.
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
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.