Hello Duncan
The problem may be related to macOS App Nap (although the persistence of
the problem when R.app has the focus seems to contradict that). If so,
you could either make sure that R.app retains the focus while the
command executes or disable App Nap for R.app (permanently, until the
option is changed) via the command, in a terminal,
defaults write org.R-project.R NSAppSleepDisabled -bool YES
I hope this helps,
John
--
John Fox, Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
web: https://www.john-fox.ca/
--
On 2024-12-11 12:25 p.m., Duncan Murdoch wrote:
Caution: External email.
Every now and then R.app stops responding to various events while a
long-running command is executing. I can't scroll the console to look
at earlier results, and I don't see partial results until the whole
computation is complete. If I ask MacOS to switch to that window, it
won't come to the top (though clicking on it does bring it up, but I
need to be able to see part of it to do that).
Once it finishes it returns to the console prompt and things look fine,
but the same thing happens during the next long-running command.
This happens every now and then, but I haven't spotted the cause. The
only solution I've found is to quit the session and restart it.
Does anyone know what might be causing this, or a way to fix it without
ending the session?
Duncan Murdoch
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac