[Resolved] RATTLE package install error for Windows/Linux/MAC in easy steps
If you are facing an error to install rattle package which is used to graphically plot the decision trees. Relax you have found the solution. Most likely your error must be like: Loading required package: rattle Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called ‘RGtk2’ What we'll do is install RGtk2 package seperately by giving it source url. Pick your operating system and run the command listed in Blue: First run the RGtk2 install command independently Then the rattle intsall command Finally the require(rattle) command You could be asked to restart R/R-studio after installing package. Restart it and then import or require as we say in R world the rattle package. Happy Coding :) For GNU/Linux, either > install.packages("https://togaware.com/access/RGtk2_2.20.31.tar.gz", repos=NULL) > install.packages("https://togaware.com/access/rattle_5.0.8.tar.gz", repos=NULL) >install.p...