[R-SIG-Mac] R.app not handling events

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Wed Dec 11 20:39:24 CET 2024


On 2024-12-11 2:22 p.m., John Fox wrote:
> 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

Thanks!  I've disabled it now.  Some of these commands take 5 or 10 
minutes to run, and I don't want R to stay focused all that time, I want 
to do other stuff too.

If it happens again, I guess it wasn't that.

Duncan



More information about the R-SIG-Mac mailing list