20.1 Test Mining Setup

20180603 Packages used in this chapter include RColorBrewer (Neuwirth 2014), Rgraphviz (Hansen et al. 2018), dplyr (Wickham et al. 2021), ggplot2 (Wickham et al. 2020), qdap (Rinker 2020), qdapDictionaries (Rinker 2018a), scales (Wickham and Seidel 2020), stringr (Wickham 2019b), tm (Feinerer and Hornik 2020), wordcloud (Fellows 2018), and rattle (G. Williams 2021).

Packages are loaded into the currently running R session from your local library directories on disk. Missing packages can be installed using utils::install.packages() within R. On Ubuntu, for example, R packages can also be installed using $ wajig install r-cran-<pkgname>.

# Load required packages from local library into the R session.

library(RColorBrewer) # Generate palette of colours for plots.
library(Rgraphviz)    # Correlation plots.
library(dplyr)        # Data wrangling, pipe operator %>%().
library(ggplot2)      # Plot word frequencies.
library(qdap)         # Quantitative discourse analysis of transcripts.
library(qdapDictionaries)
library(rattle)       # Support: riskchart() errorMatrix().
library(scales)       # Support: commas(), percent().
library(stringr)      # str_replace_all().
library(tm)           # Framework for text mining.
library(wordcloud)


Your donation will support ongoing development and give you access to the PDF version of the book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0.