install.packages('devtools', repos='http://cran.us.r-project.org') install.packages('quanteda', repos='http://cran.us.r-project.org') install.packages('quanteda.textstats', repos='http://cran.us.r-project.org') install.packages('readtext', repos='http://cran.us.r-project.org') install.packages('ggplot2', repos='http://cran.us.r-project.org') devtools::install_github("quanteda/quanteda.corpora")