Skip to content

xquartz hanging

3 messages · Peter Dalgaard, biii+rsigm@c m@iii@g oii 8p@wexpress@com, Kasper Daniel Hansen

#
I'm puzzled why you need XQuartz in the first place. R in a terminal usually fires up the quartz() graphics device and that has nothing to do with XQuartz (which is X on top of Quartz, not the other way around).

We do have an annoyance with XQuartz though: When install.packages() goes looking for a CRAN mirror (*), it fires up a Tk selector and that will require XQuartz to fire up. Every now and again that hangs for me too, but as it is usually the first thing I do in an R session, I can ctr-Z and kill the process and start over. But it really could do with a looking into. (I do miss strace/truss from days of yore, where you could just probe into a running process and see what it is up to.)

-pd

(*) Yeah, I know, it should be in a configuration  file ... somewhere.

  
    
#
Thank you, Peter. I think that?s a misunderstanding of mine based on 
mis-reading mac.r-project.org and incomplete research. I have since 
uninstalled XQuartz and indeed |quartz()| still works, so my bug-report 
has been a misdirection. With this, I?ve changed the here from ?xquartz 
hanging? to ?quartz hanging?.

I?m still working on a reprex, haven?t found the culprit yet. (I haven?t 
had a repeat since I uninstalled and reinstalled then uninstalled XQuartz.)

Thank you again,
Bill
On 6/1/25 07:24, peter dalgaard wrote:

            
​
1 day later
#
I have been using quartz from inside Emacs for a long time and I basically
never (or at least very rarely) have any issues. I rarely use XQuartz and
never with R installed on my local machine (mostly to start X windows from
a remote server). There is a way to configure the default device in R, so I
would try to start the quartz device manually with
  R> quartz()
  R> plot(1:10)
and check that is the same as
  R> plot(1:10)
to rule out any configuration issues and make sure we're talking about the
same device.

Are you compiling R from source or are you using the CRAN binaries? That
might have an impact.

Best,
Kasper
On Sun, Jun 1, 2025 at 8:26?AM <bill+rsigmac at 8pawexpress.com> wrote: