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

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -