惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Privacy & Cybersecurity Law Blog
V
V2EX
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Register - Security
The Register - Security
MongoDB | Blog
MongoDB | Blog
P
Privacy International News Feed
The Last Watchdog
The Last Watchdog
Security Archives - TechRepublic
Security Archives - TechRepublic
美团技术团队
Stack Overflow Blog
Stack Overflow Blog
博客园 - 司徒正美
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
K
Kaspersky official blog
S
Secure Thoughts
T
Tenable Blog
Security Latest
Security Latest
The Cloudflare Blog
S
Security @ Cisco Blogs
H
Heimdal Security Blog
aimingoo的专栏
aimingoo的专栏
TaoSecurity Blog
TaoSecurity Blog
Blog — PlanetScale
Blog — PlanetScale
Microsoft Security Blog
Microsoft Security Blog
Schneier on Security
Schneier on Security
Webroot Blog
Webroot Blog
G
Google Developers Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Scott Helme
Scott Helme
IT之家
IT之家
Latest news
Latest news
The Hacker News
The Hacker News
C
Check Point Blog
T
The Exploit Database - CXSecurity.com
H
Hackread – Cybersecurity News, Data Breaches, AI and More
腾讯CDC
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
N
News | PayPal Newsroom
Forbes - Security
Forbes - Security
P
Palo Alto Networks Blog
S
Security Affairs
S
Securelist
Google Online Security Blog
Google Online Security Blog
WordPress大学
WordPress大学
Last Week in AI
Last Week in AI
C
Cybersecurity and Infrastructure Security Agency CISA
A
About on SuperTechFans

博客园 - 星星博客园

关于win10打开Word文件提示“转换文件”,选择文件类型的问题解决方式 office安装错误,报1603 apple mobile device recovery mode 问题解决 关于informix中判断字母是否为汉字的一点技巧 使用Hibernet开发informix数据库程序小结 etc的默认级别 MySQL关于TYPE和ENGIN的一点问题 转两篇关于JVM参数调优 SQL与NoSQL的一些内容汇总 informix 临时空间 Informix 生成随机数 导出Excel(脱离Office环境) 研究Mybatis的Jpetshop-系统搭建(一) 创建一个Jetty的Server 先写一点informix的 文件 "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf " 已压缩,但未驻留在只读数据库或文件组中。必须将此文件解压缩。【转】 - 星星博客园 Weblogic常用监控指标(转) BEA WebLogic平台下J2EE调优攻略【转】 关于Session问题
关于安装R语言的Rattle报错问题的解决方式
星星博客园 · 2017-06-25 · via 博客园 - 星星博客园

安装R语言的相关内容就不再赘述。

安装Rstudio的地址:https://www.rstudio.com/products/rstudio/download/

安装rattle,执行的时候

library(rattle)没有问题,但是直接rattle()后没有跳出框,提示报错信息为:

 Error in method(obj, ...) : Invalid root element: 'requires'

或者压根没有报错信息,这个主要是RGtk2的问题,需要更换一下版本为2.20.31,更换方式https://cran.r-project.org/web/packages/RGtk2/index.html上下载后,在Rstudio的Package删除RGtk2,然后重新安装。

具体可以参考:https://stackoverflow.com/questions/43974093/rattle-installation-error-invalid-root-element

执行rattle后仍然报错,提示:

PangoWarning: couldn't load font "瀹嬩綋 Not-Rotated 9", falling back to "Sans Not-Rotated 9", expect ugly output.

这个主要是中文的问题:

C:\Program Files\R\R-3.4.0\library\RGtk2\gtk\x64\share\themes\MS-Windows\gtk-2.0下的gtkrc文件,增加:

style "user-font" {

  font_name = "serif 10"

}

widget_class "*" style "user-font"

gtk-font-name="SimSun 10"

具体可以参考:http://mosir.org/html/y2012/gtk-chinese-char-font-in-windows.html

但是还有可能保存,主要是 

Error in `[[.GObject`(x, member) 

的问题

这个建议重新下载一下GTk+,解压到C盘,设置一下Path的路径C:\gtk+\bin

可以参考http://bbs.pinggu.org/thread-3168576-1-1.html的一些内容。

OK

执行完毕后可以验证一下rattle的内容,如果按钮起作用,证明安装成功。