Rattle: Installation on MS/Windows
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_2.20.36.2.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
This installation was confirmed 22 September 2020 to work on Microsoft Windows 10, 64bit, with R 4.0.2, Rattle 5.4.6, RGtk2 2.20.36, and gtk+ 2.22.1. However, RGtk2 was archived by CRAN in January 2022 and until it becomes available again on CRAN we can use R 4.1.0
Quick Start
- Install the base R distribution from https://cran.r-project.org/bin/windows/base/old/4.1.3/R-4.1.3-win.exe
- Startup R and then issue the following commands: > install.packages("rattle")
> install.packages("https://access.togaware.com/RGtk2_2.20.36.2.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
Dev Version
To install the development version of rattle:> install.packages("https://rattle.togaware.com/src/contrib/rattle_5.5.2.zip", repos=NULL)
Details
1. Install R
- Download and run the self installing executable to install R (e.g., verison 4.0.2 is 84MB) from CRAN, the Comprehensive R Archive Network. Choosing all the defaults on the install works just fine.
Both a 32 bit and a 64 bit version will be installed - they can coexist.
2. Install RGtk2
If you wish to utilise the rattle graphical user interface then you will need to have RGtk2 package and the GTK+ operating system libraries installed.
- Open the R Desktop icon (32 bit or 64 bit) and enter the
following command at the R prompt. R will ask for a CRAN
mirror. Choose the top option (0-Cloud [https]).
> install.packages("RGtk2") > library("RGtk2")
You will be asked whether to download and install the GTK+ libraries (libatk-1.0-0.dll). Choose to do so.
Once completed, restart your R session to have those libraries available to R.
3. Install Rattle
- Open the R Desktop icon (32 bit or 64 bit) and enter the
following command at the R prompt. R will ask for a CRAN
mirror. Choose the top option (0-Cloud [https]).
> install.packages("rattle")
-
Enter the following two commands at the R prompt. This loads the
Rattle package from the library and then starts up Rattle.
> library(rattle) > rattle()
When running Rattle a number of other packages will be downloaded and installed as needed, with Rattle asking for the user's permission before doing so. They only need to be downloaded just the once for each user. They are installed into the user's own library.
4. Optional Configuration and Installations
- You may like to install RStudio (version 1.1.456 is 85.8MB), an integrated development environment for interacting with R, from www.rstudio.com.
- Increasing in sophistication is Emacs Speaks S (version 26.1 is 102MB), an integrated development environment for R, available from vigou3.github.io.
-
Rattle will install other packages as needed but we can force the
install of all other packages Rattle uses in one go if we so
wish, using:
> install.packages("rattle", dep=c("Suggests"))
-
To use the Microsoft Windows theme engine, and thus have
Rattle look like all other Windows applications (in terms of colour
and style), create a file with the name gtkrc to contain
the following line. Make sure the file name does not have any
filename extension (i.e., no .txt or anything else with a dot). The
file needs to be located in the GTK+ installation folder. This might
be, for example,
C:/Users/username/R/win-library/2.15/RGtk2/gtk/i386/etc/gtk-2.0/.
gtk-theme-name = "MS-Windows"
For trouble shooting see Rattle Install Trouble Shooting.
Copyright © 2006-2023 Togaware Pty Ltd
This site is hosted in the cloud by OpalStack.
Last Modified Tue 2022-08-30 09:37:53 +1000 Graham Williams
Shop at Amazon