Description Usage Arguments Value See Also Examples
Reads concordance-based data frames that are written to file with the
function write_conc
.
1 2 3 4 5 6 7 8 |
file |
name of the input file |
header |
boolean value that expresses whether or not the first line in the
input file contains column names. In the current implementation of
|
sep |
the field separator that is used in the input file. |
quote |
boolean value that expresses whether or not character data fields in the
file are enclosed in quotation marks. This argument is
not used in the current implementation of |
comment_char |
not used in the current implementation of |
file_encoding |
the encoding used in the input file. |
stringsAsFactors |
boolean value: should character data automatically be converted to
factors? This argument applies to all columns in the data, with the
exception of the columns |
... |
not used in the current implementation of |
The function read_conc
returns a data frame of the class
conc
.
See also write_conc
.
1 2 3 | (d <- conc_re('\\w+', 'A very small corpus.', as_text = TRUE))
write_conc(d, "example_data.tab")
(d2 <- read_conc("example_data.tab"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.