| read_conc | R Documentation |
This function reads concordance-based data frames that are written to file
with the function write_conc().
read_conc( file, sep = "\t", file_encoding = "UTF-8", stringsAsFactors = FALSE, ... )
file |
Name of the input file. |
sep |
Field separator used in the input file. |
file_encoding |
Encoding of the input file. |
stringsAsFactors |
Logical. Whether character data should automatically
be converted to factors. It applies to all columns except for |
... |
Additional arguments, not implemented. |
Object of class conc.
import_conc() for reading files not generated with write_conc().
Other reading functions:
read_assoc(),
read_fnames(),
read_freqlist(),
read_tokens(),
read_txt(),
read_types()
(d <- conc('A very small corpus.', '\\w+', 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.