This function reads in all files in a directory ending in .txt into R.
The result is a character vector where each entry is a .txt file.
The names of the resulting vector are derived from the names of the files.
Usage
Files2Vec(directory, ...)
Arguments
directory
A path to directory containing the files you want to read into R.
...
Other arguments to be passed to TmParallelApply. See note, below.
Value
Returns a character vector where each entry corresponds to a document.