2.2 Installing R Libraries

20250924

Rattle utilises a large collection of R libraries (which R likes to call packages rather than libraries) that should be installed before you run Rattle. Once you have installed R (see Section 2.1), start up R itself in a console/terminal to obtain the > prompt and then install the following R packages:

install.packages(c("BiocManager", "Ckmeans.1d.dp", "Hmisc", "NeuralNetTools", "ROCR",
                   "SnowballC", "VIM",
                   "ada", "amap", "arules", "arulesViz",
                   "biclust", "caret", "corrplot", "descr", "devtools",
                   "fBasics", "ggcorrplot", "ggdendro", "ggplotify",
                   "ggtext", "ggthemes",
                   "janitor", "lubridate",
                   "magrittr", "mice",
                   "naniar", "neuralnet", "nnet", "party", "partykit",
                   "randomForest", "rattle",
                   "readr", "reshape", "rpart", "skimr", "tidyverse", "tm",
                   "verification", "wordcloud", "wskm", "xgboost"))
BiocManager::install("Rgraphviz")
devtools::install_github("bmschmidt/wordVectors")

Once you have installed the required R packages you can proceed to install Rattle for Linux, for macOS, or for Windows.



Your donation will support ongoing availability and give you access to the PDF version of this 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-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0