Download Rattle Package In R
Rattle: Installation on MS/Windows
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.
Quick Start
- Install the base R distribution from CRAN
- Startup R and then issue the following commands: > install.packages("RGtk2")
> library(RGtk2)
Choose to install Gtk2
There will be an error from R failing to load RGtk2 Exit from R and then Restart R
> library(RGtk2)
> install.packages("rattle")
> library(rattle)
> rattle()
Dev Version
To install the development version of rattle:
> install.packages("https://rattle.togaware.com/src/contrib/rattle_5.4.13.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-2019 Togaware Pty Ltd
This site is hosted in the cloud by Web Faction.
Last Modified Tuesday 2020-09-22 08:44:52 AEST Graham Williams
Shop at Amazon
Posted by: friendlyreminderr.blogspot.com
Source: https://rattle.togaware.com/rattle-install-mswindows.html