twitter - Error in DirSource("TheRock") : empty directory -
i tried analyze twitter data on rock (#therock) using tutorial : https://www.slideshare.net/ajayohri/twitter-analysis-by-kaify-rais
however, when execute code below error :
"error in dirsource("therocknew") : empty directory" library(tm) library(wordcloud) therocknew="c:/users/admin/desktop/therock" k=corpus(dirsource("therocknew"), readercontrol = list(language = "eng")) inspect(k)
i've been looking solution online, can't seem find answer. tried changing directory folder "documents" (standard) desktop, changing code dirsource(directory = "therocknew")
etc. nothing seems work.
Comments
Post a Comment