powered by
This function writes an object of class conc to a file.
conc
write_conc(x, file = "", sep = "\t")
Invisibly, x.
x
Object of class conc.
Path to output file.
Field separator for the columns in the output file.
read_conc()
Other writing functions: write_assoc(), write_fnames(), write_freqlist(), write_tokens(), write_txt(), write_types()
write_assoc()
write_fnames()
write_freqlist()
write_tokens()
write_txt()
write_types()
(d <- conc('A very small corpus.', '\\w+', as_text = TRUE)) .old_wd <- setwd(tempdir()) write_conc(d, "example_data.tab") (d2 <- read_conc("example_data.tab")) setwd(.old_wd)
Run the code above in your browser using DataLab