在OS X下启动R时出现奇怪的警告

时间:2016-05-09 00:58:07

标签: r macos

在运行RGui时,它会给出以下提示:

R version 3.3.0 (2016-05-03) -- "Supposedly Educational"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin13.4.0 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

[R.app GUI 1.68 (7202) x86_64-apple-darwin13.4.0]

[History restored from /Users/sunqingyao/.Rapp.history]

2016-05-09 08:49:53.286 R[472:6120] -deltaZ is deprecated for NSEventTypeMagnify.  Please use -magnification.

对于最后一行,一切似乎都没问题。但是,当我键入几个命令,例如example(plot)时,它们都能正常工作。在official document之后重新安装R后,此警告仍然存在。

1 个答案:

答案 0 :(得分:0)

对于它的价值,我运行64位没有任何问题。这是在终端中开始时的输出。请注意我的历史记录没有像你那样被恢复的差异,所以也许在启动R之前尝试删除历史文件。即:

rm /Users/sunqingyao/.Rapp.history 

我猜你的旧版本存在冲突:

R version 3.3.0 (2016-05-03) -- "Supposedly Educational"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin13.4.0 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications.


Type 'demo()' for some demos, 'help()' for on-line help, or

'help.start()' for an HTML browser interface to help.

Type 'q()' to quit R.

这是我的系统信息,以防它帮助您:

  

系统版本:OS X 10.11.4(15E65)

     

内核版本:达尔文15.4.0

     

启动卷:MBPr

     

引导模式:正常

     

计算机名称:rossMBPr

     

用户名:Ross ******(罗斯)

     

安全虚拟内存:已启用

     

系统完整性保护:已启用

     

启动时间:10天19:19