[R-SIG-Mac] X11 hangs while plotting from R

MacQueen, Don macqueen1 at llnl.gov
Wed Apr 11 22:25:44 CEST 2012

This was R started in what way? Console? Terminal? An xterm shell running
under X11?

Command-Tab switches between applications
Command-`   switches between windows within an application

The following applies to R started in a Terminal window.

You have two applications, Terminal, and X11 (though for me it's a Quartz
window, not an X11 window). After dev.new(), X11 has two windows, Terminal
has one window.

When you use Command-Tab to switch back to "X11" you get whichever X11
window is active, namely the second one. Then use Command-` to get to the
original graphics window.

That's what I think is probably going on.

Don MacQueen

Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550

On 4/6/12 8:19 AM, "Bw Coder" <highbwcoder at yahoo.com> wrote:

>This has been cross-posted on http://stackoverflow.com/q/10045109
>While plotting to a window in R, X11 kept hanging. These steps reproduce
>the error.
>X11 window becomes active. Press [Apple]+[Tab] to go back to the terminal
>Second X11 window becomes active. Press [Apple]+[Tab] to go back to the
>terminal 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. The X11 is no
>longer responding!
>Setup details: I am on OSX 10.7.3 with R and xorg-* installed through
>Macports. I can give  more details if they will be helpful.
>The screenshot of the Activity monitor is here:
>The R version is 2.14.1 (2011-12-22)
>Platform: x86_64-apple-darwin11.0.0/x86_64 (64-bit)
>The sampling of the process is at http://pastebin.com/3rXM2BBn
>	[[alternative HTML version deleted]]
>R-SIG-Mac mailing list
>R-SIG-Mac at r-project.org

More information about the R-SIG-Mac mailing list