Description Usage Arguments See Also Examples
The result of this function usually used in an itoken function.
1 2 3 4 5 |
file_paths |
|
reader |
|
path |
|
... |
other arguments (not used at the moment) |
itoken
1 2 3 4 5 6 7 8 9 | ## Not run:
current_dir_files = list.files(path = ".", full.names = TRUE)
files_iterator = ifiles(current_dir_files)
parallel_files_iterator = ifiles_parallel(current_dir_files, n_chunks = 4)
it = itoken_parallel(parallel_files_iterator)
dtm = create_dtm(it, hash_vectorizer(2**16), type = 'dgTMatrix')
## End(Not run)
dir_files_iterator = idir(path = ".")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.