write_fnames {mclm} | R Documentation |
Write a collection of filenames to a text file
Description
This function writes an object of class fnames
to a text file. Each filename
is written in a separate line. The file encoding is always "UTF-8"
.
In addition, it can store metadata in an additional configuration file.
Usage
write_fnames(x, file, ...)
Arguments
x |
Object of class |
file |
Path to output file. |
... |
Additional arguments (not implemented). |
Value
Invisibly, x
.
See Also
Other writing functions:
write_assoc()
,
write_conc()
,
write_freqlist()
,
write_tokens()
,
write_txt()
,
write_types()
Examples
cwd_fnames <- as_fnames(c("file1.txt", "file2.txt"))
write_fnames(cwd_fnames, "file_with_filenames.txt")
cwd_fnames_2 <- read_fnames("file_with_filenames.txt")
[Package mclm version 0.2.7 Index]