Reads a text file in table format and creates a data frame from it. The file
may contain several sets, separated by empty lines. The function adds an
set to indicate to which set each row belongs.
Filename that contains the data. Each row of the table appears
as one line of the file. If it does not contain an absolute path,
the file name is relative to the current working directory,
Vector of optional names for the variables. The default is to use "V" followed by the column number.
A data frame (
data.frame) containing a representation of the
data in the file. An extra column
set is added to indicate to
which set each row belongs.
A known limitation is that the input file must use newline characters
native to the host system, otherwise they will be, possibly silently,
misinterpreted. In GNU/Linux the program
dos2unix may be used
to fix newline characters.
There are several examples of data sets in
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.