[R-SIG-Mac] cannot create third plot window using x11()

David Winsemius dwinsemius at comcast.net
Sun Feb 26 02:10:41 CET 2012


On Feb 25, 2012, at 5:55 PM, John Maindonald wrote:

> I can open several (I was going to say 'as many as I like", but
> that is hard to verify) windows on my setup.  I do have a very
> recent update to XQuartz installed: XQuartz 2.7.1_rc2 (xorg-server  
> 1.11.4)
> (I have just now been advised of the release of 2.7.1, which I have  
> duly installed.)
>
> I notice the following at http://xquartz.macosforge.org/trac/wiki
>
> "
> OS-X Software Updates have included some of the work done by this  
> project, but for various reasons, Apple cannot ship the latest and  
> greatest version offered by this site. Since our package clobbers  
> Apple's X11.app, their SU will clobber ours. Because of this, you  
> may experience conflicts after doing a Software Update from Apple.  
> It is suggested that you install the latest XQuartz release after  
> installing an update to OS-X Leopard.
> "
>
> I am running OSX 10.7.3 (Lion).  I have not had any issues with  
> conflicts of which I am aware.
>
> John Maindonald             email: john.maindonald at anu.edu.au
> phone : +61 2 (6125)3473    fax  : +61 2(6125)5549
> Centre for Mathematics & Its Applications, Room 1194,
> John Dedman Mathematical Sciences Building (Building 27)
> Australian National University, Canberra ACT 0200.
> http://www.maths.anu.edu.au/~johnm
>
> On 26/02/2012, at 7:01 AM, R. Michael Weylandt wrote:
>
>> One can always(?) open a new device using dev.new() which defaults to
>> the quartz device on my machine.
>>
>> FWIW, I can get a similar problem with x11 but I have long-standing
>> troubles with my X11 install that I've never bothered to track down  
>> so
>> I'm not the best test case.
>>

I just tried it on my laptop which has the "old style" x11 installed,  
the one whose icons on the Dock is the plain white one with a grey X,  
and which labels itself XQuartz 2.1.6 (xorg-server 1.4.2-apple33).   
I'm unable to get it to "hang" except for the fact that when the  
window opens, the focus is shifted to that window and typing causes no  
response until one clicks back into the (GUI) console. Repeated  
invocations of x11() without plotting do not cause R to "hang". So I  
guess my only contribution is that an older version of OSX and X11  
does not necessary cause this problem. And I would request a better  
decription of "hang" on Mr Love's part.


MacOS 10.5.8

 > sessionInfo()
R version 2.14.1 Patched (2012-01-02 r58038)
Platform: i386-apple-darwin9.8.0/i386 (32-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] splines   stats     graphics  grDevices utils     datasets   
methods   base

other attached packages:
[1] quantreg_4.76    SparseM_0.91     rms_3.4-0         
Hmisc_3.9-1      survival_2.36-10

loaded via a namespace (and not attached):
[1] cluster_1.14.1 grid_2.14.1    lattice_0.20-0


>> Michael
>>
>> On Fri, Feb 24, 2012 at 9:25 AM, Jason Love  
>> <jason.love1492 at gmail.com> wrote:
>>> Hello R users,
>>>
>>> Using x11() command, I was able to create a new (2nd) plot window.  
>>> However,
>>> I was not able to create another (3rd) plot window as x11() gets
>>> immediately frozen.
>>> Does x11() command only allow 2nd plot window or could it be  
>>> related to the
>>> memory capacity limit?
>>> Also, please let me know if there is any alternative way of  
>>> opening a new
>>> plot window other than using x(11).
>>>
>>> Thanks in advance,
>>> Jason,
>>>
>>>       [[alternative HTML version deleted]]
-- 

David Winsemius, MD
Heritage Laboratories
West Hartford, CT



More information about the R-SIG-Mac mailing list