[R-SIG-Mac] R 4.3.1 fails on Mac OS 14

Smith, Desmond DSm|th @end|ng |rom mednet@uc|@@edu
Thu Oct 5 03:29:36 CEST 2023


Hi John,

You are not unique in noticing the apparently random (single) switching of R.app windows in previous versions of Mac OS X (Ventura).

I observed the same phenomenon, but simply lived with it, despite some close calls in code destruction… I had to keep my wits about me!

Cheers,

Des

From: John Helly <hellyj using ucsd.edu>
Date: Wednesday, October 4, 2023 at 6:24 PM
To: Simon Urbanek <simon.urbanek using R-project.org>, r-sig-mac R <r-sig-mac using r-project.org>, William Revelle <lists using revelle.net>
Cc: hellyj using ucsd.edu <hellyj using ucsd.edu>, Smith, Desmond <DSmith using mednet.ucla.edu>
Subject: Re: [R-SIG-Mac] R 4.3.1 fails on Mac OS 14
Not to beat a dead horse, but it may be that this is the mechanism for
the spontaneous switching I was experiencing in versions for a couple of
years.  Don't know why I would be unique in that but it seems to have
been the case.

Just adding the observation in case it provides a puzzle piece.  The
underlying problem could go back a while (or not).

J.

On 10/4/23 15:19, Simon Urbanek wrote:
> I had a look and can reproduce it. What happens is that macOS Sonoma is sending dozens of notifications that a window will close (even if no window is being closed!) and since we move the focus to the next window on close it happens every time macOS sends that notification and thus many times in sequence. Unfortunately it is not clear why Sonoma does it and it makes no sense, so some more digging will be required. I have added a quick hack to simply not change focus on close - it is not ideal as it doesn't address the (unknown) cause which may have many more repercussions, but it lets you try it out (R 4.3.x and arm64 only):
>
> https://urldefense.com/v3/__https://mac.R-project.org/test/Mac-GUI-R-4.3-arm64.dmg__;!!Mih3wA!CNN2MiHDOc9DrStpvPu_tkHU8gjcUU-emPX9aYBYLNFseaGMPyuLTuGqUDCCqH-yxi6nDLsZwkVQabKItvkXTv7JoVY$<https://urldefense.com/v3/__https:/mac.R-project.org/test/Mac-GUI-R-4.3-arm64.dmg__;!!Mih3wA!CNN2MiHDOc9DrStpvPu_tkHU8gjcUU-emPX9aYBYLNFseaGMPyuLTuGqUDCCqH-yxi6nDLsZwkVQabKItvkXTv7JoVY$>
>
> Do not use that build on other macOS systems that don't exhibit the bug. There are still more known issues with Sonoma (e.g., you cannot close an R document without saving), so avoid upgrading until it stabilizes more. In the meantime I'll see if I can find out more about the mysterious bugs in Sonoma.
>
> Cheers,
> Simon
>
>
>> On 2/10/2023, at 5:18 AM, William Revelle <lists using revelle.net> wrote:
>>
>> Dear Mac users of R and developers.
>>
>>
>> I recently updated to the Sonoma OS for Mac  (14.0)  and it has a serious problem for graphics.
>>
>> plot(1:10) creates a graphic window but I can not switch back to the console window using either command-1 or the mouse.
>>
>> Anybody else having this problem?  Any suggestions for a patch?
>>
>> I am running a MacBook Pro with M1 Max.
>>
>> Bill
>>
>>
>> (resent because of bad mail address)
>> William Revelle            personality-project.org/revelle.html
>> Professor                    personality-project.org
>> Department of Psychology         https://urldefense.com/v3/__http://www.wcas.northwestern.edu/psych/__;!!Mih3wA!CNN2MiHDOc9DrStpvPu_tkHU8gjcUU-emPX9aYBYLNFseaGMPyuLTuGqUDCCqH-yxi6nDLsZwkVQabKItvkX2z5bB_0$<https://urldefense.com/v3/__http:/www.wcas.northwestern.edu/psych/__;!!Mih3wA!CNN2MiHDOc9DrStpvPu_tkHU8gjcUU-emPX9aYBYLNFseaGMPyuLTuGqUDCCqH-yxi6nDLsZwkVQabKItvkX2z5bB_0$>
>> Northwestern University            https://urldefense.com/v3/__http://www.northwestern.edu/__;!!Mih3wA!CNN2MiHDOc9DrStpvPu_tkHU8gjcUU-emPX9aYBYLNFseaGMPyuLTuGqUDCCqH-yxi6nDLsZwkVQabKItvkXGFP8HJg$<https://urldefense.com/v3/__http:/www.northwestern.edu/__;!!Mih3wA!CNN2MiHDOc9DrStpvPu_tkHU8gjcUU-emPX9aYBYLNFseaGMPyuLTuGqUDCCqH-yxi6nDLsZwkVQabKItvkXGFP8HJg$>
>> Use R for psychology                 personality-project.org/r
>> It is 90 seconds to midnight    https://urldefense.com/v3/__http://www.thebulletin.org__;!!Mih3wA!CNN2MiHDOc9DrStpvPu_tkHU8gjcUU-emPX9aYBYLNFseaGMPyuLTuGqUDCCqH-yxi6nDLsZwkVQabKItvkXVaorqxw$<https://urldefense.com/v3/__http:/www.thebulletin.org__;!!Mih3wA!CNN2MiHDOc9DrStpvPu_tkHU8gjcUU-emPX9aYBYLNFseaGMPyuLTuGqUDCCqH-yxi6nDLsZwkVQabKItvkXVaorqxw$>
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac using r-project.org
>> https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-sig-mac__;!!Mih3wA!CNN2MiHDOc9DrStpvPu_tkHU8gjcUU-emPX9aYBYLNFseaGMPyuLTuGqUDCCqH-yxi6nDLsZwkVQabKItvkXdSyb6D8$<https://urldefense.com/v3/__https:/stat.ethz.ch/mailman/listinfo/r-sig-mac__;!!Mih3wA!CNN2MiHDOc9DrStpvPu_tkHU8gjcUU-emPX9aYBYLNFseaGMPyuLTuGqUDCCqH-yxi6nDLsZwkVQabKItvkXdSyb6D8$>
>>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac using r-project.org
> https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-sig-mac__;!!Mih3wA!CNN2MiHDOc9DrStpvPu_tkHU8gjcUU-emPX9aYBYLNFseaGMPyuLTuGqUDCCqH-yxi6nDLsZwkVQabKItvkXdSyb6D8$<https://urldefense.com/v3/__https:/stat.ethz.ch/mailman/listinfo/r-sig-mac__;!!Mih3wA!CNN2MiHDOc9DrStpvPu_tkHU8gjcUU-emPX9aYBYLNFseaGMPyuLTuGqUDCCqH-yxi6nDLsZwkVQabKItvkXdSyb6D8$>

--
John Helly / San Diego Supercomputer Center / Scripps Institution of Oceanography
https://urldefense.com/v3/__https://www.sdsc.edu/*hellyj__;fg!!F9wkZZsI-LA!Hd5bOx9lbYidoWDQosKCuWf0lmyJOFbIg49eq172CgaJ-_NZVL8pR585WDDSwoegsHy1dH1XW7_1vr4iT6XK$<https://urldefense.com/v3/__https:/www.sdsc.edu/*hellyj__;fg!!F9wkZZsI-LA!Hd5bOx9lbYidoWDQosKCuWf0lmyJOFbIg49eq172CgaJ-_NZVL8pR585WDDSwoegsHy1dH1XW7_1vr4iT6XK$> [sdsc[.]edu] / 808 205 9882 / 760 8408660

________________________________

UCLA HEALTH SCIENCES IMPORTANT WARNING: This email (and any attachments) is only intended for the use of the person or entity to which it is addressed, and may contain information that is privileged and confidential. You, the recipient, are obligated to maintain it in a safe, secure and confidential manner. Unauthorized redisclosure or failure to maintain confidentiality may subject you to federal and state penalties. If you are not the intended recipient, please immediately notify us by return email, and delete this message from your computer.

	[[alternative HTML version deleted]]



More information about the R-SIG-Mac mailing list