2.4 Installing Rattle

20250808

The latest version of the source code for Rattle is available from github. Version 6 of Rattle is a new implementation 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 many required R packages (which we sometimes call libraries) 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 >. It is at this prompt that you type R commands.

See Section 2.2 for instructions on running the R command install.packages to install all of the required R packages. For the Debian and Ubuntu GNU/Linux distributions see Section 2.5 for pre-compiled operating system packages to install instead of requiring R to compile and install the packages. These are the packages that will load from the R library into your Rattle Console, as they are needed by different Rattle operations.

You can check that a package has been properly installed by loading one of the packages from the R library. For example, to check the rattle package has been installed, try:

library(rattle)

Generally you will not see any output or error messages if all is installed properly.

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

  • GNU/Linux in Section 2.5 (snap install Section ??);
  • MacOS in Seciton 2.11;
  • Windows in Seciton 2.13.

Sample weather datasets are available as weather.csv and weatherAUS.csv.



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