Description Usage Arguments Value
Loads text files and puts them into a list, one file per list element, with
the file name as the corresponding list element name. This function only
loads files with the extension .txt
; files with other extensions in
the directory are ignored. The output of this function can be passed
to concord()
and ngram_freq()
.
1 2 |
pathway |
Pathway to the directory with |
encoding |
Specifies the type of encoding of the |
comment_char |
Specifies the comment character, if any, that is at the
beginning of lines that should be ignored when loading the files. If
|
recursive |
Specifies whether the function should recursively search for
|
Returns a list with each .txt
file in a separate list element,
with the .txt
file name as the corresponding list element name.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.