2.2 Installing Rattle

The latest version of the source code for Rattle is available from github. This new generation version is referred to as RattleNG or version 6 of Rattle. This is a new implementation of Rattle using the modern Flutter framework for Dart. Flutter supports multiple platforms so that Flutter based apps will run native and similarly on Linux, MacOS, and Windows.

Before we can run Rattle we need to ensure R itself is installed. See Section 2.1 for details on first installing R.

Once you have R installed there are a few requisite R packages that need to be installed. Generally it is good to install these as the computer administrator.

After you start up R in a terminal you will see R’s prompt as >. Here you type R commands.

Before installing Rattle you should run the following R command:

install.packages(c("Hmisc", "VIM", "corrplot", "descr", "fBasics",
                   "ggthemes", "janitor", "magrittr", "mice",
                   "pacman", "randomForest",  "rattle", "readr",
                   "reshape", "rpart", "skimr", "tidyverse", "tm",
                   "verification", "wordcloud"))

You can check that a package has been properly installed by loading one of the packages from the R library:

library(pacman)

Generally you will not see any output, and certainly no error messages if all is installed properly.

You are then ready to install Rattle on your platform. Checkout the platform specific guides here:

  • GNU/Linux (zip install Section 2.3, snap install Section 2.6);
  • MacOS in Seciton 2.7;
  • Windows in Seciton 2.8.


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