简体   繁体   English

X11 在 R 中绘图时挂起

[英]X11 hangs while plotting in R

While plotting to a window in R, X11 kept hanging.在 R 中绘制到 window 时,X11 一直挂起。 These steps reproduce the error.这些步骤重现了错误。

plot(c(1,2,3),c(4,5,6))

X11 window becomes active. X11 window 变为活动状态。 Press [Apple]+[Tab] to go back to the terminal window.按[Apple]+[Tab] go返回终端window。

dev.new()

Second X11 window becomes active.第二个 X11 window 变为活动状态。 Press [Apple]+[Tab] to go back to the terminal window.按[Apple]+[Tab] go返回终端window。

Making sure you are in the terminal and you are not holding down any keys, press [Apple]+[Tab] again to try to go to X11.确保您在终端中并且没有按住任何键,再次按 [Apple]+[Tab] 尝试将 go 连接到 X11。 The X11 is no longer responding! X11 不再响应!

Setup details: I am on OSX 10.7.3 with R and xorg-* installed through Macports.设置细节:我在 OSX 10.7.3 上,通过 Macports 安装了 R 和 xorg-*。 R.app in /Applications does not seem to have this problem. /Applications中的R.app好像没有这个问题。 I can give more details if they will be helpful.如果有帮助,我可以提供更多详细信息。

This is from Activity Monitor/inspect:这是来自活动监视器/检查:

在此处输入图像描述

The sampling of the process is at http://pastebin.com/3rXM2BBn该过程的采样在http://pastebin.com/3rXM2BBn

Apparently, this is a bug in Apple's X11, which has been fixed in xorg-server.显然,这是 Apple 的 X11 中的一个错误,已在 xorg-server 中修复。 From the cross-post: https://trac.macports.org/ticket/33914来自交叉贴: https://trac.macports.org/ticket/33914

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM