write_fnames | R Documentation |
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.
write_fnames(x, file, ...)
x |
Object of class |
file |
Path to output file. |
... |
Additional arguments (not implemented). |
Invisibly, x
.
read_fnames()
Other writing functions:
write_assoc()
,
write_conc()
,
write_freqlist()
,
write_tokens()
,
write_txt()
,
write_types()
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.