The installation of the R language will not be mentioned in detail.
Address of installation Rstudio: https://www.rstudio.com/products/rstudio/download/
Install Rattle, execute the time
Library (rattle) no problem, but the direct rattle () did not jump out of the box, prompting the error message is:
Error in method (obj, ...): Invalid root element: ' Requires '
Or there is no error message, this is mainly RGtk2 problem, need to change the version of 2.20.31, change the way https://cran.r-project.org/web/packages/RGtk2/ After the index.html is downloaded, remove the RGTK2 in the Rstudio package and reinstall it.
For details, refer to: https://stackoverflow.com/questions/43974093/rattle-installation-error-invalid-root-element
After executing rattle still error, prompt:
Pangowarning:couldn ' t load font "Yue à 綋 not-rotated 9", falling Back to "Sans not-rotated 9", expect ugly output.
This is mainly a question of Chinese:
C:\Program files\r\r-3.4.0\library\rgtk2\gtk\x64\share\themes\ms-windows\gtk-2.0 under the GTKRC file, add:
Style "User-font" {
Font_name = "Serif 10"
}
Widget_class "*" Style "User-font"
Gtk-font-name= "SimSun 10"
For details, refer to: http://mosir.org/html/y2012/gtk-chinese-char-font-in-windows.html
But it's possible to keep it, mostly
Error in ' [[. GObject ' (x, Member)
The problem
This proposal re-download the GTK +, unzip to the C drive, set the path paths C:\gtk+\bin
You can refer to some of http://bbs.pinggu.org/thread-3168576-1-1.html's content.
Ok
After execution, you can verify the contents of rattle, if the button works, it proves the installation is successful.
How to solve the problem of rattle error in installing R language