Error in installing packages 'RGtk2' and 'rattle' in R

One possible solution as mentioned is to install an older version of RGtk2. For Windows this might be:

install.packages("https://cran.r-project.org/bin/windows/contrib/3.3/RGtk2_2.20.31.zip", repos=NULL)

Further suggestions can be found at https://rattle.togaware.com/rattle-install-troubleshooting.html


For linux users, this worked for me :

install.packages("https://cran.r-project.org/src/contrib/Archive/RGtk2/RGtk2_2.20.30.tar.gz", repos=NULL)

RGtk2 installed, you can run install.packages("rattle")

You may also need to install libgtk2.0-dev and libxml2-dev before installing RGtk2 !

Conf : Ubuntu 16.10 (yakkety) and R version 3.3.1

Tags:

R

Rattle