[R-SIG-Mac] List of unnecessary messages when I plot something in R from Terminal

Prof Brian Ripley r|p|ey @end|ng |rom @t@t@@ox@@c@uk
Sun Feb 12 12:33:13 CET 2023


Please do read ?sessionInfo

      Where R was compiled under macOS 10.x (as the CRAN Intel
      distributions have been) but running under ‘Big Sur’ or later,
      macOS reports itself as ‘10.16’ (which R recognizes as ‘Big Sur
      ...’) and not ‘11.x’ or later.

This is only an issue on Intel binary distributions: the arm64 ones are 
built on macOS 11.

On 12/02/2023 09:48, Calboli Federico (LUKE) wrote:
> Pretty use R does disinguish MacOS versions:
> 
>> sessionInfo()
> R version 4.2.2 (2022-10-31)
> Platform: aarch64-apple-darwin20 (64-bit)
> Running under: macOS Ventura 13.2
> 
> for me.  So if one is on Ventura but R thinks it is running on a different OS, that’s a starting point right there.
> 
> BW
> 
> F
> 
>> On 11. Feb 2023, at 23.53, Jeff Newmiller <jdnewmil using dcn.davis.ca.us> wrote:
>>
>> Operating systems are designed to be as backward-compatible as possible... R Core doesn't generally know what distinguishing features will identify a new OS until it is released, nor what it will be called, so R has a handicap.
>>
>> On February 11, 2023 1:12:42 PM PST, Christofer Bogaso <bogaso.christofer using gmail.com> wrote:
>>> Actually when I check from the Apple icon, then I see that I am
>>> actually running Ventura
>>>
>>> For some reason, R's sessionInfo() is reporting that I am running Big Sur.
>>>
>>> Not sure why R is reporting wrong. Thanks,

'macOS Big Sur ...' is not 'wrong'.

>>> On Sun, Feb 12, 2023 at 2:38 AM Christofer Bogaso
>>> <bogaso.christofer using gmail.com> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I am running Big Sur. Below is my sessionInfo()
>>>>
>>>>> 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
>>>>
>>>> On Sun, Feb 12, 2023 at 1:55 AM Simon Urbanek
>>>> <simon.urbanek using r-project.org> wrote:
>>>>>
>>>>> 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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-sig-mac&data=05%7C01%7Cfederico.calboli%40luke.fi%7C6db214f696cc44b3479f08db0c7a7a90%7C7c14dfa4c0fc47259f0476a443deb095%7C0%7C0%7C638117492412891495%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=fZG8DuMlBIdt3G%2BNVj9F2bcsDJQFPYQICcOz%2F2Wetl4%3D&reserved=0
>>>>>>
>>>>>
>>>
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac using r-project.org
>>> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-sig-mac&data=05%7C01%7Cfederico.calboli%40luke.fi%7C6db214f696cc44b3479f08db0c7a7a90%7C7c14dfa4c0fc47259f0476a443deb095%7C0%7C0%7C638117492412891495%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=fZG8DuMlBIdt3G%2BNVj9F2bcsDJQFPYQICcOz%2F2Wetl4%3D&reserved=0
>>
>> -- 
>> Sent from my phone. Please excuse my brevity.
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac using r-project.org
>> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-sig-mac&data=05%7C01%7Cfederico.calboli%40luke.fi%7C6db214f696cc44b3479f08db0c7a7a90%7C7c14dfa4c0fc47259f0476a443deb095%7C0%7C0%7C638117492412891495%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=fZG8DuMlBIdt3G%2BNVj9F2bcsDJQFPYQICcOz%2F2Wetl4%3D&reserved=0
> 
> --
> Federico Calboli
> Tutkija
> Genomiikka ja jalostus, Luonnonvarakeskus
> +358295322656
> 
> 
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

-- 
Brian D. Ripley,                  ripley using stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford



More information about the R-SIG-Mac mailing list