How to convert a termDocumentMatrix which I have got from text mining in R into excel or CSV file?
问题 To be more more specific. Lets say I have a character vector "names" with the following elements: Names[1]<-"aaron, matt, patrick", Names[2]<-"jiah, ron, melissa, john, patrick" and so on......I have 22956 elements like this. I want to separate all the names and assign them a separate column in excel. How do I do this? It requires text mining. But I am not sure how to do this. Thank you. 回答1: I assume you have a list of strings elements separated by a comma, with different number of elements.