Last active
August 6, 2019 09:13
-
-
Save wandabwa2004/c14862df29ac74192b38c81728f09b04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(dplyr) | |
library(tm) | |
library(readr) | |
library(lubridate) | |
library(ggplot2) | |
library(tidytext) | |
library(tidyverse) | |
library(stringr) | |
library(tidyr) | |
library(scales) | |
library(broom) | |
library(purrr) | |
library(widyr) | |
library(igraph) | |
library(ggraph) | |
library(SnowballC) | |
library(wordcloud) | |
library(RColorBrewer) | |
library(reshape2) | |
theme_set(theme_minimal()) | |
library(wordcloud2) | |
library(plotly) | |
## Close all connections/Lists/trigger garbage collection/set working directory | |
closeAllConnections() | |
rm(list=ls()) | |
##garbage collection - manual trigger | |
gc() | |
setwd("C:\\directory where your data is. ") #Set the working directory | |
length(dir()) ##Number of files in the folder | |
docs <- VCorpus(DirSource()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment