tm
Inconsistent behaviour with tm_map transformation functions when using multiple cores
If you try to overwrite your memory with a program that uses parallel processing, you should first verify that it’s worth it. For instance, check if your disk is at 80%-100% writing speed; if that is the case, then your program could also just use a single core, because it is blocked by disk writing … Read more
How to flatten a list of lists?
I expect that unlist(foolist) will help you. It has an option recursive which is TRUE by default. So unlist(foolist, recursive = FALSE) will return the list of the documents, and then you can combine them by: do.call(c, unlist(foolist, recursive=FALSE)) do.call just applies the function c to the elements of the obtained list