[R-SIG-Mac] List of unnecessary messages when I plot something in R from Terminal
Simon Urbanek
@|mon@urb@nek @end|ng |rom R-project@org
Sat Feb 11 21:25:22 CET 2023
Christofer,
yes, unfortunately this is a known bug in macOS Ventura affecting a lot of command-line programs that use GUI. Do not upgrade to Ventura (usually a good advice given the long list of known bugs in Ventura) or wait for a fix from Apple.
Cheers,
Simon
> On Feb 11, 2023, at 11:28 PM, Christofer Bogaso <bogaso.christofer using gmail.com> wrote:
>
> Hi,
>
> When I plot something in R, then it open Quartz and in the console I
> see below messages
>
>> plot(1:4)
>
>> 1 HIToolbox 0x00007ff8229a2726 _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 102
>
> 2 HIToolbox 0x00007ff8229a22b8
> _ZN15MenuBarInstance14EnableAutoShowEv + 52
>
> 3 HIToolbox 0x00007ff822946908
> SetMenuBarObscured + 408
>
> 4 HIToolbox 0x00007ff8229464ca
> _ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh
> + 164
>
> 5 HIToolbox 0x00007ff822940996
> _ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 252
>
> 6 HIToolbox 0x00007ff822908bd2
> _NotifyEventLoopObservers + 153
>
> 7 HIToolbox 0x00007ff8229403e6
> AcquireEventFromQueue + 494
>
> 8 HIToolbox 0x00007ff82292f3ec
> ReceiveNextEventCommon + 285
>
> 9 HIToolbox 0x00007ff82292f2b3
> _BlockUntilNextEventMatchingListInModeWithFilter + 70
>
> 10 AppKit 0x00007ff81c136f33 _DPSNextEvent + 909
>
> 11 AppKit 0x00007ff81c135db4
> -[NSApplication(NSEvent)
> _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
>
> 12 grDevices.so 0x00000001086f7a3b input_handler + 155
>
> 13 libR.dylib 0x0000000108b142cf
> Rstd_ReadConsole + 2127
>
> 14 libR.dylib 0x0000000108a15b74
> Rf_ReplIteration + 100
>
> 15 libR.dylib 0x0000000108a174b1 R_ReplConsole + 161
>
> 16 libR.dylib 0x0000000108a17402 run_Rmainloop + 82
>
> 17 libR.dylib 0x0000000108a1753e Rf_mainloop + 14
>
> 18 R 0x000000010847af5b main + 27
>
> 19 dyld 0x00007ff818bde310 start + 2432
>
> 1 HIToolbox 0x00007ff822aa952b
> _ZN15MenuBarInstance21IsAutoShowHideAllowedEv + 259
>
> 2 HIToolbox 0x00007ff8229a233e
> _ZN15MenuBarInstance24UpdateAutoShowVisibilityE5Pointh + 34
>
> 3 HIToolbox 0x00007ff8229117a4
> _ZN15MenuBarInstance16ForEachMenuBarDoEU13block_pointerFvPS_E + 46
>
> 4 HIToolbox 0x00007ff8229a293d
> _ZN15MenuBarInstance20AutoShowHideObserverEjP14OpaqueEventRefPv + 165
>
> 5 HIToolbox 0x00007ff822908bd2
> _NotifyEventLoopObservers + 153
>
> 6 HIToolbox 0x00007ff82293afb8
> PostEventToQueueInternal + 700
>
> 7 HIToolbox 0x00007ff82293c871
> _ZL29CreateAndPostEventWithCGEventP9__CGEventjhP17__CFMachPortBoost +
> 404
>
> 8 HIToolbox 0x00007ff822948ee9
> _ZL15Convert1CGEventh + 246
>
> 9 HIToolbox 0x00007ff822948d91
> _ZL16MainLoopObserverjP14OpaqueEventRefPv + 41
>
> 10 HIToolbox 0x00007ff822908bd2
> _NotifyEventLoopObservers + 153
>
> 11 HIToolbox 0x00007ff82292f726
> RunCurrentEventLoopInMode + 228
>
> 12 HIToolbox 0x00007ff82292f396
> ReceiveNextEventCommon + 199
>
> 13 HIToolbox 0x00007ff82292f2b3
> _BlockUntilNextEventMatchingListInModeWithFilter + 70
>
> 14 AppKit 0x00007ff81c136f33 _DPSNextEvent + 909
>
> 15 AppKit 0x00007ff81c135db4
> -[NSApplication(NSEvent)
> _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
>
> 16 grDevices.so 0x00000001086f7a3b input_handler + 155
>
> 17 libR.dylib 0x0000000108b142cf
> Rstd_ReadConsole + 2127
>
> 18 libR.dylib 0x0000000108a15b74
> Rf_ReplIteration + 100
>
> 19 libR.dylib 0x0000000108a174b1 R_ReplConsole + 161
>
> 20 libR.dylib 0x0000000108a17402 run_Rmainloop + 82
>
> 21 libR.dylib 0x0000000108a1753e Rf_mainloop + 14
>
> 22 R 0x000000010847af5b main + 27
>
> 23 dyld 0x00007ff818bde310 start + 2432
>
> 1 HIToolbox 0x00007ff82292f0c2
> _ZN15MenuBarInstance22RemoveAutoShowObserverEv + 30
>
> 2 HIToolbox 0x00007ff8229467e3
> SetMenuBarObscured + 115
>
> 3 HIToolbox 0x00007ff82294d29e
> _ZN13HIApplication11FrontUILostEv + 34
>
> 4 HIToolbox 0x00007ff822946622
> _ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh
> + 508
>
> 5 HIToolbox 0x00007ff822940950
> _ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 182
>
> 6 HIToolbox 0x00007ff822908bd2
> _NotifyEventLoopObservers + 153
>
> 7 HIToolbox 0x00007ff8229403e6
> AcquireEventFromQueue + 494
>
> 8 HIToolbox 0x00007ff82292f3ec
> ReceiveNextEventCommon + 285
>
> 9 HIToolbox 0x00007ff82292f2b3
> _BlockUntilNextEventMatchingListInModeWithFilter + 70
>
> 10 AppKit 0x00007ff81c136f33 _DPSNextEvent + 909
>
> 11 AppKit 0x00007ff81c135db4
> -[NSApplication(NSEvent)
> _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
>
> 12 grDevices.so 0x00000001086f7a77 input_handler + 215
>
> 13 libR.dylib 0x0000000108b142cf
> Rstd_ReadConsole + 2127
>
> 14 libR.dylib 0x0000000108a15b74
> Rf_ReplIteration + 100
>
> 15 libR.dylib 0x0000000108a174b1 R_ReplConsole + 161
>
> 16 libR.dylib 0x0000000108a17402 run_Rmainloop + 82
>
> 17 libR.dylib 0x0000000108a1753e Rf_mainloop + 14
>
> 18 R 0x000000010847af5b main + 27
>
> 19 dyld 0x00007ff818bde310 start + 2432
>
> I am using R through Terminal in my Mac
>
>> sessionInfo()
>
> R version 4.2.1 (2022-06-23)
>
> Platform: x86_64-apple-darwin17.0 (64-bit)
>
> Running under: macOS Big Sur ... 10.16
>
>
> Matrix products: default
>
> BLAS: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRblas.0.dylib
>
> LAPACK: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib
>
>
> locale:
>
> [1] C/UTF-8/C/C/C/C
>
>
> attached base packages:
>
> [1] stats graphics grDevices utils datasets methods base
>
>
> loaded via a namespace (and not attached):
>
> [1] compiler_4.2.1
>
> Is there any way to stop/hide these messages?
>
> Thanks for your time.
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
More information about the R-SIG-Mac
mailing list