Rattle: A Graphical User Interface for Data Mining using R
The Data Science Desktop Survival Guide provides a guide for the Data Scientist using R.
Welcome to the R Analytical Tool To Learn Easily! Visit R Projects for Dummies for a nice introduction to Rattle. Also visit our Data Science Desktop Survival Guide to begin or continue your journey as a data scientist. Visit the Repository to lodge questions and issues.
Install: With the demise of the RGtk2 package for R the best way to now install rattle is to use the pre-packaged docker image. This will run on any platform that supports docker.
Update After over 15 years and with an extensive user
community, motivated by the demise of the RGtk2 toolkit in R, the
Rattle user interface is being re-writen using the modern and native
cross platform framework Flutter. Visit github for
details. Contributions welcome.
You can support the ongoing Rattle development through a donation that will assist in maintaining the various web resources we utilise and the coding we sponsor:Rattle is a popular GUI for data mining using R. It presents statistical and visual summaries of data, transforms data so that it can be readily modelled, builds both unsupervised and supervised machine learning models from the data, presents the performance of models graphically, and scores new datasets for deployment into production. A key features is that all of your interactions through the graphical user interface are captured as an R script that can be readily executed in R independently of the Rattle interface. Use it as a tool to learn and develop your skills in R and then to build your initial models in Rattle to then be tuned in R which provides considerably more powerful options.
Contributing: Rattle is Free (as in Libre) Open Source Software and the source code is freely available from the Bitbucket git repository. You are invited to clone the git repository and to assist with resolving issues and contributing new functionality by lodging pull requests.
We give you the freedom to review the code, use it for whatever purpose you like, and to extend it however you like, without restriction, except that if you then distribute your changes you also need to distribute your source code under the same conditions.
Rattle clocks between 10,000 and 20,000 downloads per month from the RStudio CRAN node (one of over 140 nodes).
A local install on your own computer for a quick start with Rattle can be undertaken with the operating system specific instructions below. We do however recommend running Rattle on Ubuntu 23.04 which you can do using Parallels on MacOS or using WSL2 from the Microsoft Store on Windows 11.
Note that RGtk2, the GUI Toolkit utilised by Rattle, has been archived on CRAN. Below we utilise the archived version to support Rattle.
On Ubuntu 23.04 R 4.2.2 Rattle 5.5.2 (Tested 29 April 2023):
$ sudo apt-get install r-recommended r-cran-xml libgtk2.0-dev libxml2-dev $ wget https://access.togaware.com/RGtk2_220.127.116.11.zip $ mkdir -p ~/R/x86_64-pc-linux-gnu-library/4.2/ $ unzip RGtk2_18.104.22.168.zip -d ~/R/x86_64-pc-linux-gnu-library/4.2/ $ R > install.packages("rattle") # This will install dependencies. > install.packages("rattle", repos="https://rattle.togaware.com", type="source") > library(rattle) > rattle()
On Windows 10 (Tested 1 September 2023)
Download, open, install (create desktop and quick launch shortcuts as desired) , and startup R from https://cran.r-project.org/bin/windows/base/old/4.1.3/R-4.1.3-win.exe
> install.packages("rattle") > install.packages("https://access.togaware.com/RGtk2_22.214.171.124.zip", repos=NULL) > library(rattle) > rattle()
When prompted to install Gtk2, click OK.
A compatible version of RStudio can be installed from https://s3.amazonaws.com/rstudio-ide-build/desktop/windows/RStudio-2022.02.2-485.exe
Discussion suggests the docker image is a good option for the Mac. It is reported that RGtk2 won't install on M1. Or else:
> install.packages("https://access.togaware.com/RGtk2_126.96.36.199.tgz", repos=NULL, type="binary")
Installing Rattle from Docker Hub
The simplest and quickest way to run rattle on any platform is to run the Docker container available from Docker Hub.
Operating System Specific Guides
R can be installed via the R Project.
The development version of Rattle is regularly updated and a list of the latest updates is available from the Commits on bitbucket. All known bugs are fixed in the latest development version. See the troubleshooting page to see if you have a new issue.
To install the latest development Version 5.5.2 dated 2023-04-29:
> install.packages("rattle", repos="https://rattle.togaware.com", type="source")
To install from the source code repository:
> install.packages("devtools") > devtools::install_bitbucket("kayontoga/rattle")
To install from the package tar file:
> install.packages("https://togaware.com/access/rattle_5.5.2.tar.gz", repos=NULL)Errata Brochure
- Other Resources
"Rattle is a tab-oriented user interface that is similar to Microsoft Office’s ribbon interface. It makes getting started with data mining in R very easy. This book covers both Rattle, the R code that Rattle creates, and writing some R code from scratch. Therefore it will appeal to both people seeking the ease-of-use that is very much missing from R, and people looking to learn R programming."
"The book is very enjoyable reading and is filled with useful information. It is aimed at both students learning data mining and data miners who are using or learning R. People are likely to read it through the first time as a text book and then later use it as a reference, especially about the details of the R language. One of the strongest aspects of this book is Dr. Williams’ ability to simplify complex topics and explain them clearly. His descriptions of bagging and boosting are the most clear that I have ever read."
Bob Muenchen, author of R for SAS and SPSS Users, 30 June 2011
For anyone looking to learn more about R, this would be a great introduction. Brian Tvenstrup (5 reviewers made a similar statement).
This book covers both Rattle, the R code that Rattle creates, and writing some R code from scratch. Robert A. Muenchen (2 reviewers made a similar statement).
In summary, I found the book very readable, the examples easy to follow, and the explanations and reasons for why different processes are done. G3N1U5 (2 reviewers made a similar statement).
Rattle is open source and freely available from Togaware. You can download Rattle and get familiar with its functionality without any obligation, except for the obligation to freely share! Organisations are also welcome to purchase Rattle, including support for installation and initial training, and ongoing data mining support. Email firstname.lastname@example.org for details.
Through a simple and logical graphical user interface based on Gnome, Rattle can be used by itself to deliver data mining projects. Rattle also provides an entry into sophisticated data mining using the open source and free statistical language R.
Rattle runs under GNU/Linux, Macintosh OS/X, and MS/Windows. The aim is to provide an intuitive interface that takes you through the basic steps of data mining, as well as illustrating the R code that is used to achieve this. Whilst the tool itself may be sufficient for all of a user's needs, it also provides a stepping stone to more sophisticated processing and modelling in R itself, for sophisticated and unconstrained data mining.
Rattle is in daily use by Australia's largest team of data scientists and by a variety of government and other enterprises, world wide. Whilst the true number of active users is hard to gauge we can observe that there are about 20,000 downloads of the package per month from a single though popular CRAN node (where CRAN has over 100 nodes).
Many independent consultants world wide also use Rattle in their day-to-day business.
Known users of Rattle include Fisheries and Oceans Canada, Laboratory of Biochemical and Instrumental Analysis at the CINVESTAV Unidad Irapuato, College Raptor, RACQ, McMillan Shakespeare, University of Texas at Dallas, Public Transport Authority of Western Australia, New South Wales Department of Primary Industries, the University of California San Diego, the largest banks in India, Derby Dubai, Australia's ANZ and Commonwealth Banks, the Australian Taxation Office, Australian Department of Immigration, Ulster Bank, Toyota Australia, Victorian Cancer Council, US Geological Survey, Carat Media Network, Institute of Infection and Immunity of the University Hospital of Wales, US National Institutes of Health, AIMIA Loyalty Marketing, Added Value, Stanford University, V.E.S Institute of Technology Mumbai, Microsoft, Chevron, Siemens, and many more.
Rattle is also used to teach the practise of data mining. The software and the book are used as the primary tool of instruction for hands-on data mining and data science at the Australian National University (2010-2023), University of Canberra, Harbin Institute of Technology, Shenzhen Graduate School (since 2006), Australian Consortium for Social and Political Research (2011), Revolution Analytics (since 2012 and now Microsoft), International Centre for Free and Open Source Software in Kerala, India (2015), Swinburne University of technology (2020-2023) and many others.
Rattle is used in teaching data science at numerous universities, including: School of Business Administration SUNY Brockport (2022), Corporación Universitaria Lasallista Medellin Columbia (2020-), Department of Operations & Information Systems Manning School of Business University of Massachusetts Lowell (2018-), NYU School of Professional Studies (2020-), Big Data Analytics @ UC San Diego (2017-), University of South Dakota, the University of Washington Foster School (2017-), the School of Global Policy and Strategy, UC San Diego (2016-), the Australian National University's course on Data Mining (2006-), University of Canberra (2010-), University of South Australia (2009-), Yale University, University of Liège Belgium (2011-), University of Wollongong (2010-), University of Southern Queensland (since 2010), University of Technology, Sydney (2012-), Electrical Engineering courses in Reliability and Testability at Virginia University, Loyola University Chicago, Southern New Hampshire University (2017-), Penn State University (2017-), University of Washington (2016-), Swinburne University, among others.
The author of Rattle received a 2007 Australia Day Medallion, presented by the Commissioner of Taxation, for leadership and mentoring in Data Mining in the Australian Taxation Office and in Australia, and particularly cited the development and sharing of the Rattle system. Other awards include to 2020 Special Achievement Award from the Pacific Asia Conference on Knowledge Discovery and Data Mining (PAKDD).
If you use Rattle please reference it according to citation("rattle"). You might also reference one of the following:
Graham Williams (2011). Data Mining with Rattle and R: The Art of Excavating Data for Knowledge Discovery, Springer, Use R!.
Graham Williams (2009). Rattle: A Data Mining GUI for R, Graham J Williams, The R Journal, 1(2):45-55.
Discussion Group and Suggestions
The Rattle Users mailing list is hosted by Google Groups. Questions and suggestions can be posted there. You can [visit the discussion archive] or subscribe by supplying your email address below and clicking the Subscribe button.
Copyright © 2006-2023 Togaware Pty Ltd
This site is hosted in the cloud by OpalStack.
Last Modified Wed 2023-10-11 08:09:11 +1100 Graham Williams
Shop at Amazon