How to solve the problem of rattle error in installing R language

Source: Internet
Author: User
Tags gtk

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.