Rattle: Installation on Ubuntu GNU/Linux

Rattle is the R Analytical Tool To Learn Easily, a GUI based application written in R. Installation is straightforward on different platforms. The Ubuntu distribution of GNU/Linux is a polished, easy to install, freely available, widely used, platform on which to run Rattle, and is one of the most popular virtual machine operating systems in the cloud. The latest version is 20.04 LTS and has been tested to work with Rattle as below.

Ubuntu is recommended to the Data Scientist as the platform for analyzing data. It can be installed on most computers, new and old, as well as on specific tablets and smartphones. It can replace your current operating system (Windows or OSX) or else it can be installed within a VirtualBox on any platform, all for free. If installing within a VirtualBox then enable the VirtualBox guest additions and bidirectional cut/paste. It is also available from the Microsoft store Windows Subsystem for Linux under Windows 10

After installing Ubuntu on your computer, install the wajig package manager.

$ sudo apt-get install wajig

From the command line or through the Software Centre GUI:

$ wajig addrepo ppa:marutter/rrutter4.0
$ wajig addrepo ppa:c2d4u.team/c2d4u4.0+
$ wajig distupgrade
$ wajig install libgtk2.0-dev r-base-dev r-cran-rattle
We can then run Rattle:
$ R
> library(rattle)
> rattle()
To update to the latest development version of Rattle:
 > install.packages("rattle", repos="http://rattle.togaware.com")

Rattle will use R's install.packages to install missing packages as it comes across the need for them. They get installed into the local library (/usr/local/lib/R/site-library) if you have write access there, or else into the user's library (~/R). The repository packages install into the sytem library (/usr/lib/R/site-library). The user's libraries override the local libraries override the system libraries. Thus packages installed locally using install.packages will override packages installed using wajig. This can be a source of confusion, when we think we have installed a later version than R is loading. Use remove.packages to remove the local R installed packages.

The following will install the other R packages that Rattle uses:

 $ wajig install -y \
      r-bioc-biocgenerics \
      r-bioc-graph \
      r-bioc-rbgl \
      r-cran-amap \
      r-cran-amelia \
      r-cran-animation \
      r-cran-arules \
      r-cran-base64enc \
      r-cran-biocmanager \
      r-cran-c50 \
      r-cran-cairodevice \
      r-cran-car \
      r-cran-caret \
      r-cran-cba \
      r-cran-cellranger \
      r-cran-clipr \
      r-cran-cluster \
      r-cran-clv \
      r-cran-colorramps \
      r-cran-colorspace \
      r-cran-colourpicker \
      r-cran-corrplot \
      r-cran-curl \
      r-cran-dbi \
      r-cran-dbplyr \
      r-cran-deoptimr \
      r-cran-devtools \
      r-cran-diagram \
      r-cran-doby \
      r-cran-dplyr \
      r-cran-dt \
      r-cran-e1071 \
      r-cran-effects \
      r-cran-epitools \
      r-cran-extrafont \
      r-cran-fbasics \
      r-cran-fields \
      r-cran-flexmix \
      r-cran-forcats \
      r-cran-foreign \
      r-cran-fpc \
      r-cran-fs \
      r-cran-futile.logger \
      r-cran-futile.options \
      r-cran-gam \
      r-cran-gclus \
      r-cran-ggally \
      r-cran-ggdendro \
      r-cran-ggplot2 \
      r-cran-ggthemes \
      r-cran-gplots \
      r-cran-gridextra \
      r-cran-haven \
      r-cran-hexbin \
      r-cran-hmisc \
      r-cran-htmlwidgets \
      r-cran-httr \
      r-cran-igraph \
      r-cran-iplots \
      r-cran-jsonlite \
      r-cran-kernlab \
      r-cran-knitr \
      r-cran-lambda.r \
      r-cran-lattice \
      r-cran-latticeextra \
      r-cran-lme4 \
      r-cran-lubridate \
      r-cran-magrittr \
      r-cran-matrix \
      r-cran-mclust \
      r-cran-mice \
      r-cran-minqa \
      r-cran-modelr \
      r-cran-modelr \
      r-cran-nloptr \
      r-cran-nnet \
      r-cran-openssl \
      r-cran-openxlsx \
      r-cran-party \
      r-cran-partykit \
      r-cran-pbkrtest \
      r-cran-plotly \
      r-cran-plyr \
      r-cran-plyr \
      r-cran-pmml \
      r-cran-png \
      r-cran-proc \
      r-cran-purrr \
      r-cran-qap \
      r-cran-r6 \
      r-cran-randomforest \
      r-cran-rattle \
      r-cran-rcolorbrewer \
      r-cran-rcppeigen \
      r-cran-rcurl \
      r-cran-readr \
      r-cran-readxl \
      r-cran-registry \
      r-cran-rematch \
      r-cran-reprex \
      r-cran-reshape2 \
      r-cran-rggobi \
      r-cran-rmarkdown \
      r-cran-robustbase \
      r-cran-rocr \
      r-cran-rodbc \
      r-cran-rpart \
      r-cran-rpart.plot \
      r-cran-rvest \
      r-cran-scatterplot3d \
      r-cran-seriation \
      r-cran-shinybs \
      r-cran-statmod \
      r-cran-tidyr \
      r-cran-tm \
      r-cran-tsp \
      r-cran-vcd \
      r-cran-viridis \
      r-cran-waveslim \
      r-cran-whisker \
      r-cran-wordcloud \
      r-cran-xml \
      r-cran-xtable

The following don't have Ubuntu packages:

$ R
> install.packages(c("glue"
                  ,"FSelector"
	          ,"ada"
		  ,"arulesViz"
		  ,"ckanr"
		  ,"descr"
		  ,"hmeasure"
		  ,"verification"
		  ,"wskm"
		  ,"xkcd"
		  ),
                repos='https://cloud.r-project.org')

For trouble shooting see Rattle Install Trouble Shooting.


Shop at Amazon

    The following advertisement from Google is not endorsed by Togaware.