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

2023-02-12 Thread Christofer Bogaso
Thanks for all your inputs.

However I now installed latest version of R and still facing the same
problem. Normally these messages don't come, but they appear when I
make Quartz active window (i.e. bring this front)

> sessionInfo()

R version 4.2.2 (2022-10-31)

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.2

On Sun, Feb 12, 2023 at 5:14 PM Calboli Federico (LUKE)
 wrote:
>
> Brian,
>
> I can then report that on R 4.2.2 on aarch64-apple-darwin20 (64-bit), MacOS 
> 13.2
>
> plot(1:4)
>
> returns a plot with no warnings nor other unexpected output, so Christofer’s 
> problem is limited to the x86 achitecture.
>
>
>
>
>
> > On 12. Feb 2023, at 13.33, Prof Brian Ripley  wrote:
> >
> > 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  
> >>> 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 
> >>>  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
>   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
> >  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 
> >>>  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   0x7ff8229a2726 
>  _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 102
> >>>
> >>> 2   HIToolbox   0x7ff8229a22b8
> >>> _ZN15MenuBarInstance14EnableAutoShowEv + 52
> >>>
> >>> 3   HIToolbox   0x7ff822946908
> >>> SetMenuBarObscured + 408
> >>>
> >>> 4   HIToolbox   0x7ff8229464ca
> >>> _ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh
> >>> + 164
> >>>
> >>> 5   HIToolbox   0x7ff822940996
> >>> _ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 252
> >>>
> >>> 6   HIToolbox  

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

2023-02-12 Thread Calboli Federico (LUKE)
Brian,

I can then report that on R 4.2.2 on aarch64-apple-darwin20 (64-bit), MacOS 13.2

plot(1:4)

returns a plot with no warnings nor other unexpected output, so Christofer’s 
problem is limited to the x86 achitecture.





> On 12. Feb 2023, at 13.33, Prof Brian Ripley  wrote:
> 
> 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  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 
>>>  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
  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
>  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 
>>>  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   0x7ff8229a2726 
 _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 102
>>> 
>>> 2   HIToolbox   0x7ff8229a22b8
>>> _ZN15MenuBarInstance14EnableAutoShowEv + 52
>>> 
>>> 3   HIToolbox   0x7ff822946908
>>> SetMenuBarObscured + 408
>>> 
>>> 4   HIToolbox   0x7ff8229464ca
>>> _ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh
>>> + 164
>>> 
>>> 5   HIToolbox   0x7ff822940996
>>> _ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 252
>>> 
>>> 6   HIToolbox   0x7ff822908bd2
>>> _NotifyEventLoopObservers + 153
>>> 
>>> 7   HIToolbox   0x7ff8229403e6
>>> AcquireEventFromQueue + 494
>>> 
>>> 8   HIToolbox   0x7ff82292f3ec
>>> ReceiveNextEventCommon + 285
>>> 
>>> 9   HIToolbox   0x7ff82292f2b3
>>> _BlockUntilNextEventMatchingListInModeWithFilter + 70
>>> 
>>> 10  AppKit  0x7ff81c136f33 
>>> _DPSNextEvent + 909
>>> 
>>> 11  AppKit  0x7ff81c135db4
>>> -[NSApplication(NSEvent)
>>> _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
>>> 
>>> 12  grDevices.so0x0001086f7a3b 
>>> input_handler + 155
>>> 
>>> 13  libR.dylib  0x000108b142cf
>>> Rstd_ReadConsole + 2127
>>> 
>>> 14  libR.dylib  0x000108a15b74
>>> Rf_ReplIteration + 100

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

2023-02-12 Thread Prof Brian Ripley

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  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 
 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
 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
 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  
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   0x7ff8229a2726 
_ZN15MenuBarInstance22EnsureAutoShowObserverEv + 102


2   HIToolbox   0x7ff8229a22b8
_ZN15MenuBarInstance14EnableAutoShowEv + 52

3   HIToolbox   0x7ff822946908
SetMenuBarObscured + 408

4   HIToolbox   0x7ff8229464ca
_ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh
+ 164

5   HIToolbox   0x7ff822940996
_ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 252

6   HIToolbox   0x7ff822908bd2
_NotifyEventLoopObservers + 153

7   HIToolbox   0x7ff8229403e6
AcquireEventFromQueue + 494

8   HIToolbox   0x7ff82292f3ec
ReceiveNextEventCommon + 285

9   HIToolbox   0x7ff82292f2b3
_BlockUntilNextEventMatchingListInModeWithFilter + 70

10  AppKit  0x7ff81c136f33 _DPSNextEvent + 909

11  AppKit  0x7ff81c135db4
-[NSApplication(NSEvent)
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219

12  grDevices.so0x0001086f7a3b input_handler + 155

13  libR.dylib  0x000108b142cf
Rstd_ReadConsole + 2127

14  libR.dylib  0x000108a15b74
Rf_ReplIteration + 100

15  libR.dylib  0x000108a174b1 R_ReplConsole + 161

16  libR.dylib  0x000108a17402 run_Rmainloop + 82

17  libR.dylib  0x000108a1753e Rf_mainloop + 14

18  R   0x00010847af5b main + 27

19  dyld0x7ff818bde310 start + 2432

1   HIToolbox   0x7ff822aa952b
_ZN15MenuBarInstance21IsAutoShowHideAllowedEv + 259

2   HIToolbox   0x7ff8229a233e
_ZN15MenuBarInstance24UpdateAutoShowVisibilityE5Pointh + 34

3   HIToolbox   0x7ff8229117a4
_ZN15MenuBarInstance16ForEachMenuBarDoEU13block_pointerFvPS_E + 46

4   HIToolbox   0x7ff8229a293d
_ZN15MenuBarInstance20AutoShowHideObserverEjP14OpaqueEventRefPv + 165

5   HIToolbox   0x7ff822908bd2
_NotifyEventLoopObservers + 153

6   HIToolbox   0x7ff82293afb8
PostEventToQueueInternal + 700

7   HIToolbox   0x7ff82293c871

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

2023-02-12 Thread Calboli Federico (LUKE)
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  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 
>  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,
>> 
>> On Sun, Feb 12, 2023 at 2:38 AM Christofer Bogaso
>>  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
>>>  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 
>  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   0x7ff8229a2726 
>> _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 102
> 
> 2   HIToolbox   0x7ff8229a22b8
> _ZN15MenuBarInstance14EnableAutoShowEv + 52
> 
> 3   HIToolbox   0x7ff822946908
> SetMenuBarObscured + 408
> 
> 4   HIToolbox   0x7ff8229464ca
> _ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh
> + 164
> 
> 5   HIToolbox   0x7ff822940996
> _ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 252
> 
> 6   HIToolbox   0x7ff822908bd2
> _NotifyEventLoopObservers + 153
> 
> 7   HIToolbox   0x7ff8229403e6
> AcquireEventFromQueue + 494
> 
> 8   HIToolbox   0x7ff82292f3ec
> ReceiveNextEventCommon + 285
> 
> 9   HIToolbox   0x7ff82292f2b3
> _BlockUntilNextEventMatchingListInModeWithFilter + 70
> 
> 10  AppKit  0x7ff81c136f33 _DPSNextEvent 
> + 909
> 
> 11  AppKit  0x7ff81c135db4
> -[NSApplication(NSEvent)
> _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
> 
> 12  grDevices.so0x0001086f7a3b input_handler 
> + 155
> 
> 13  libR.dylib  0x000108b142cf
> Rstd_ReadConsole + 2127
> 
> 14  libR.dylib  0x000108a15b74
> Rf_ReplIteration + 100
> 
> 15  libR.dylib  0x000108a174b1 R_ReplConsole 
> + 161
> 
> 16  libR.dylib  0x000108a17402 run_Rmainloop 
> + 82
> 
> 17  libR.dylib  0x000108a1753e Rf_mainloop + 
> 14
> 
> 18  R   0x00010847af5b main + 27
> 
> 19  dyld0x7ff818bde310 start + 2432
> 
> 1   HIToolbox   0x7ff822aa952b
> _ZN15MenuBarInstance21IsAutoShowHideAllowedEv + 259
> 
> 2   HIToolbox   0x7ff8229a233e
> _ZN15MenuBarInstance24UpdateAutoShowVisibilityE5Pointh + 34
> 
> 3   HIToolbox   0x7ff8229117a4
> _ZN15MenuBarInstance16ForEachMenuBarDoEU13block_pointerFvPS_E + 46
> 
> 4   HIToolbox   0x7ff8229a293d
> _ZN15MenuBarInstance20AutoShowHideObserverEjP14OpaqueEventRefPv + 165

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

2023-02-11 Thread Ken Beath
What may be important is that you are running R 4.2.1 which was replaced by 
4.2.2 on 31 October 2022, and may know a lot more about Ventura.

Also if you are on Ventura it would probably be best to make sure that you are 
upgraded to 13.2 which hopefully has a lot of the bugs fixed.

Ken

> On 12 Feb 2023, at 8:08 am, Christofer Bogaso  
> 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
>  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 
>>>  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   0x7ff8229a2726 
 _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 102
>>> 
>>> 2   HIToolbox   0x7ff8229a22b8
>>> _ZN15MenuBarInstance14EnableAutoShowEv + 52
>>> 
>>> 3   HIToolbox   0x7ff822946908
>>> SetMenuBarObscured + 408
>>> 
>>> 4   HIToolbox   0x7ff8229464ca
>>> _ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh
>>> + 164
>>> 
>>> 5   HIToolbox   0x7ff822940996
>>> _ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 252
>>> 
>>> 6   HIToolbox   0x7ff822908bd2
>>> _NotifyEventLoopObservers + 153
>>> 
>>> 7   HIToolbox   0x7ff8229403e6
>>> AcquireEventFromQueue + 494
>>> 
>>> 8   HIToolbox   0x7ff82292f3ec
>>> ReceiveNextEventCommon + 285
>>> 
>>> 9   HIToolbox   0x7ff82292f2b3
>>> _BlockUntilNextEventMatchingListInModeWithFilter + 70
>>> 
>>> 10  AppKit  0x7ff81c136f33 _DPSNextEvent + 
>>> 909
>>> 
>>> 11  AppKit  0x7ff81c135db4
>>> -[NSApplication(NSEvent)
>>> _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
>>> 
>>> 12  grDevices.so0x0001086f7a3b input_handler + 
>>> 155
>>> 
>>> 13  libR.dylib  0x000108b142cf
>>> Rstd_ReadConsole + 2127
>>> 
>>> 14  libR.dylib  0x000108a15b74
>>> Rf_ReplIteration + 100
>>> 
>>> 15  libR.dylib  0x000108a174b1 R_ReplConsole + 
>>> 161
>>> 
>>> 16  libR.dylib  0x000108a17402 run_Rmainloop + 
>>> 82
>>> 
>>> 17  libR.dylib  0x000108a1753e Rf_mainloop + 14
>>> 
>>> 18  R   0x00010847af5b main + 27
>>> 
>>> 19  dyld0x7ff818bde310 start + 2432
>>> 
>>> 1   HIToolbox   0x7ff822aa952b
>>> _ZN15MenuBarInstance21IsAutoShowHideAllowedEv + 259
>>> 
>>> 2   HIToolbox   0x7ff8229a233e
>>> _ZN15MenuBarInstance24UpdateAutoShowVisibilityE5Pointh + 34
>>> 
>>> 3   HIToolbox   0x7ff8229117a4
>>> _ZN15MenuBarInstance16ForEachMenuBarDoEU13block_pointerFvPS_E + 46
>>> 
>>> 4   HIToolbox   0x7ff8229a293d
>>> _ZN15MenuBarInstance20AutoShowHideObserverEjP14OpaqueEventRefPv + 165
>>> 
>>> 5   HIToolbox   0x7ff822908bd2
>>> _NotifyEventLoopObservers + 153
>>> 
>>> 6   HIToolbox   0x7ff82293afb8
>>> PostEventToQueueInternal + 700
>>> 
>>> 7   HIToolbox   0x7ff82293c871
>>> _ZL29CreateAndPostEventWithCGEventP9__CGEventjhP17__CFMachPortBoost +
>>> 404
>>> 
>>> 8   HIToolbox   0x7ff822948ee9
>>> _ZL15Convert1CGEventh + 246
>>> 
>>> 9   HIToolbox   0x7ff822948d91
>>> _ZL16MainLoopObserverjP14OpaqueEventRefPv + 41
>>> 
>>> 10  HIToolbox   0x7ff822908bd2
>>> _NotifyEventLoopObservers + 153
>>> 
>>> 11  HIToolbox   0x7ff82292f726
>>> RunCurrentEventLoopInMode + 228
>>> 
>>> 12  HIToolbox   0x7ff82292f396
>>> 

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

2023-02-11 Thread Duncan Murdoch
That's right.  The releases are based on what's known when they are 
released, not what will be known in the future.


And statisticians are supposed to be good at prediction...

Duncan Murdoch

On 11/02/2023 4:53 p.m., Jeff Newmiller 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 
 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,

On Sun, Feb 12, 2023 at 2:38 AM Christofer Bogaso
 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
 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  
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   0x7ff8229a2726 
_ZN15MenuBarInstance22EnsureAutoShowObserverEv + 102


2   HIToolbox   0x7ff8229a22b8
_ZN15MenuBarInstance14EnableAutoShowEv + 52

3   HIToolbox   0x7ff822946908
SetMenuBarObscured + 408

4   HIToolbox   0x7ff8229464ca
_ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh
+ 164

5   HIToolbox   0x7ff822940996
_ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 252

6   HIToolbox   0x7ff822908bd2
_NotifyEventLoopObservers + 153

7   HIToolbox   0x7ff8229403e6
AcquireEventFromQueue + 494

8   HIToolbox   0x7ff82292f3ec
ReceiveNextEventCommon + 285

9   HIToolbox   0x7ff82292f2b3
_BlockUntilNextEventMatchingListInModeWithFilter + 70

10  AppKit  0x7ff81c136f33 _DPSNextEvent + 909

11  AppKit  0x7ff81c135db4
-[NSApplication(NSEvent)
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219

12  grDevices.so0x0001086f7a3b input_handler + 155

13  libR.dylib  0x000108b142cf
Rstd_ReadConsole + 2127

14  libR.dylib  0x000108a15b74
Rf_ReplIteration + 100

15  libR.dylib  0x000108a174b1 R_ReplConsole + 161

16  libR.dylib  0x000108a17402 run_Rmainloop + 82

17  libR.dylib  0x000108a1753e Rf_mainloop + 14

18  R   0x00010847af5b main + 27

19  dyld0x7ff818bde310 start + 2432

1   HIToolbox   0x7ff822aa952b
_ZN15MenuBarInstance21IsAutoShowHideAllowedEv + 259

2   HIToolbox   0x7ff8229a233e
_ZN15MenuBarInstance24UpdateAutoShowVisibilityE5Pointh + 34

3   HIToolbox   0x7ff8229117a4
_ZN15MenuBarInstance16ForEachMenuBarDoEU13block_pointerFvPS_E + 46

4   HIToolbox   0x7ff8229a293d
_ZN15MenuBarInstance20AutoShowHideObserverEjP14OpaqueEventRefPv + 165

5   HIToolbox   0x7ff822908bd2
_NotifyEventLoopObservers + 153

6   HIToolbox   0x7ff82293afb8
PostEventToQueueInternal + 700

7   HIToolbox   0x7ff82293c871
_ZL29CreateAndPostEventWithCGEventP9__CGEventjhP17__CFMachPortBoost +
404

8   HIToolbox   0x7ff822948ee9
_ZL15Convert1CGEventh + 246

9   HIToolbox   0x7ff822948d91
_ZL16MainLoopObserverjP14OpaqueEventRefPv + 41

10  HIToolbox   0x7ff822908bd2
_NotifyEventLoopObservers + 153

11  HIToolbox   0x7ff82292f726
RunCurrentEventLoopInMode + 228

12  HIToolbox   0x7ff82292f396
ReceiveNextEventCommon + 199

13  HIToolbox   

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

2023-02-11 Thread Jeff Newmiller
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 
 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,
>
>On Sun, Feb 12, 2023 at 2:38 AM Christofer Bogaso
> 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
>>  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 
>> > >  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   0x7ff8229a2726 
>> > >> _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 102
>> > >
>> > > 2   HIToolbox   0x7ff8229a22b8
>> > > _ZN15MenuBarInstance14EnableAutoShowEv + 52
>> > >
>> > > 3   HIToolbox   0x7ff822946908
>> > > SetMenuBarObscured + 408
>> > >
>> > > 4   HIToolbox   0x7ff8229464ca
>> > > _ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh
>> > > + 164
>> > >
>> > > 5   HIToolbox   0x7ff822940996
>> > > _ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 252
>> > >
>> > > 6   HIToolbox   0x7ff822908bd2
>> > > _NotifyEventLoopObservers + 153
>> > >
>> > > 7   HIToolbox   0x7ff8229403e6
>> > > AcquireEventFromQueue + 494
>> > >
>> > > 8   HIToolbox   0x7ff82292f3ec
>> > > ReceiveNextEventCommon + 285
>> > >
>> > > 9   HIToolbox   0x7ff82292f2b3
>> > > _BlockUntilNextEventMatchingListInModeWithFilter + 70
>> > >
>> > > 10  AppKit  0x7ff81c136f33 _DPSNextEvent 
>> > > + 909
>> > >
>> > > 11  AppKit  0x7ff81c135db4
>> > > -[NSApplication(NSEvent)
>> > > _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
>> > >
>> > > 12  grDevices.so0x0001086f7a3b input_handler 
>> > > + 155
>> > >
>> > > 13  libR.dylib  0x000108b142cf
>> > > Rstd_ReadConsole + 2127
>> > >
>> > > 14  libR.dylib  0x000108a15b74
>> > > Rf_ReplIteration + 100
>> > >
>> > > 15  libR.dylib  0x000108a174b1 R_ReplConsole 
>> > > + 161
>> > >
>> > > 16  libR.dylib  0x000108a17402 run_Rmainloop 
>> > > + 82
>> > >
>> > > 17  libR.dylib  0x000108a1753e Rf_mainloop + 
>> > > 14
>> > >
>> > > 18  R   0x00010847af5b main + 27
>> > >
>> > > 19  dyld0x7ff818bde310 start + 2432
>> > >
>> > > 1   HIToolbox   0x7ff822aa952b
>> > > _ZN15MenuBarInstance21IsAutoShowHideAllowedEv + 259
>> > >
>> > > 2   HIToolbox   0x7ff8229a233e
>> > > _ZN15MenuBarInstance24UpdateAutoShowVisibilityE5Pointh + 34
>> > >
>> > > 3   HIToolbox   0x7ff8229117a4
>> > > _ZN15MenuBarInstance16ForEachMenuBarDoEU13block_pointerFvPS_E + 46
>> > >
>> > > 4   HIToolbox   0x7ff8229a293d
>> > > _ZN15MenuBarInstance20AutoShowHideObserverEjP14OpaqueEventRefPv + 165
>> > >
>> > > 5   HIToolbox   0x7ff822908bd2
>> > > _NotifyEventLoopObservers + 153
>> > >
>> > > 6   HIToolbox   0x7ff82293afb8
>> > > PostEventToQueueInternal + 700
>> > >
>> > > 7   HIToolbox   0x7ff82293c871
>> > > _ZL29CreateAndPostEventWithCGEventP9__CGEventjhP17__CFMachPortBoost +
>> > > 404
>> > 

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

2023-02-11 Thread Christofer Bogaso
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,

On Sun, Feb 12, 2023 at 2:38 AM Christofer Bogaso
 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
>  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 
> > >  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   0x7ff8229a2726 
> > >> _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 102
> > >
> > > 2   HIToolbox   0x7ff8229a22b8
> > > _ZN15MenuBarInstance14EnableAutoShowEv + 52
> > >
> > > 3   HIToolbox   0x7ff822946908
> > > SetMenuBarObscured + 408
> > >
> > > 4   HIToolbox   0x7ff8229464ca
> > > _ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh
> > > + 164
> > >
> > > 5   HIToolbox   0x7ff822940996
> > > _ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 252
> > >
> > > 6   HIToolbox   0x7ff822908bd2
> > > _NotifyEventLoopObservers + 153
> > >
> > > 7   HIToolbox   0x7ff8229403e6
> > > AcquireEventFromQueue + 494
> > >
> > > 8   HIToolbox   0x7ff82292f3ec
> > > ReceiveNextEventCommon + 285
> > >
> > > 9   HIToolbox   0x7ff82292f2b3
> > > _BlockUntilNextEventMatchingListInModeWithFilter + 70
> > >
> > > 10  AppKit  0x7ff81c136f33 _DPSNextEvent 
> > > + 909
> > >
> > > 11  AppKit  0x7ff81c135db4
> > > -[NSApplication(NSEvent)
> > > _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
> > >
> > > 12  grDevices.so0x0001086f7a3b input_handler 
> > > + 155
> > >
> > > 13  libR.dylib  0x000108b142cf
> > > Rstd_ReadConsole + 2127
> > >
> > > 14  libR.dylib  0x000108a15b74
> > > Rf_ReplIteration + 100
> > >
> > > 15  libR.dylib  0x000108a174b1 R_ReplConsole 
> > > + 161
> > >
> > > 16  libR.dylib  0x000108a17402 run_Rmainloop 
> > > + 82
> > >
> > > 17  libR.dylib  0x000108a1753e Rf_mainloop + 
> > > 14
> > >
> > > 18  R   0x00010847af5b main + 27
> > >
> > > 19  dyld0x7ff818bde310 start + 2432
> > >
> > > 1   HIToolbox   0x7ff822aa952b
> > > _ZN15MenuBarInstance21IsAutoShowHideAllowedEv + 259
> > >
> > > 2   HIToolbox   0x7ff8229a233e
> > > _ZN15MenuBarInstance24UpdateAutoShowVisibilityE5Pointh + 34
> > >
> > > 3   HIToolbox   0x7ff8229117a4
> > > _ZN15MenuBarInstance16ForEachMenuBarDoEU13block_pointerFvPS_E + 46
> > >
> > > 4   HIToolbox   0x7ff8229a293d
> > > _ZN15MenuBarInstance20AutoShowHideObserverEjP14OpaqueEventRefPv + 165
> > >
> > > 5   HIToolbox   0x7ff822908bd2
> > > _NotifyEventLoopObservers + 153
> > >
> > > 6   HIToolbox   0x7ff82293afb8
> > > PostEventToQueueInternal + 700
> > >
> > > 7   HIToolbox   0x7ff82293c871
> > > _ZL29CreateAndPostEventWithCGEventP9__CGEventjhP17__CFMachPortBoost +
> > > 404
> > >
> > > 8   HIToolbox   0x7ff822948ee9
> > > _ZL15Convert1CGEventh + 246
> > >
> > > 9   HIToolbox   0x7ff822948d91
> > > _ZL16MainLoopObserverjP14OpaqueEventRefPv + 41
> > >
> > > 10  HIToolbox   0x7ff822908bd2
> > > _NotifyEventLoopObservers + 153
> > >
> > > 11  HIToolbox   0x7ff82292f726
> > > RunCurrentEventLoopInMode + 228
> 

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

2023-02-11 Thread Christofer Bogaso
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
 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 
> >  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   0x7ff8229a2726 
> >> _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 102
> >
> > 2   HIToolbox   0x7ff8229a22b8
> > _ZN15MenuBarInstance14EnableAutoShowEv + 52
> >
> > 3   HIToolbox   0x7ff822946908
> > SetMenuBarObscured + 408
> >
> > 4   HIToolbox   0x7ff8229464ca
> > _ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh
> > + 164
> >
> > 5   HIToolbox   0x7ff822940996
> > _ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 252
> >
> > 6   HIToolbox   0x7ff822908bd2
> > _NotifyEventLoopObservers + 153
> >
> > 7   HIToolbox   0x7ff8229403e6
> > AcquireEventFromQueue + 494
> >
> > 8   HIToolbox   0x7ff82292f3ec
> > ReceiveNextEventCommon + 285
> >
> > 9   HIToolbox   0x7ff82292f2b3
> > _BlockUntilNextEventMatchingListInModeWithFilter + 70
> >
> > 10  AppKit  0x7ff81c136f33 _DPSNextEvent + 
> > 909
> >
> > 11  AppKit  0x7ff81c135db4
> > -[NSApplication(NSEvent)
> > _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
> >
> > 12  grDevices.so0x0001086f7a3b input_handler + 
> > 155
> >
> > 13  libR.dylib  0x000108b142cf
> > Rstd_ReadConsole + 2127
> >
> > 14  libR.dylib  0x000108a15b74
> > Rf_ReplIteration + 100
> >
> > 15  libR.dylib  0x000108a174b1 R_ReplConsole + 
> > 161
> >
> > 16  libR.dylib  0x000108a17402 run_Rmainloop + 
> > 82
> >
> > 17  libR.dylib  0x000108a1753e Rf_mainloop + 14
> >
> > 18  R   0x00010847af5b main + 27
> >
> > 19  dyld0x7ff818bde310 start + 2432
> >
> > 1   HIToolbox   0x7ff822aa952b
> > _ZN15MenuBarInstance21IsAutoShowHideAllowedEv + 259
> >
> > 2   HIToolbox   0x7ff8229a233e
> > _ZN15MenuBarInstance24UpdateAutoShowVisibilityE5Pointh + 34
> >
> > 3   HIToolbox   0x7ff8229117a4
> > _ZN15MenuBarInstance16ForEachMenuBarDoEU13block_pointerFvPS_E + 46
> >
> > 4   HIToolbox   0x7ff8229a293d
> > _ZN15MenuBarInstance20AutoShowHideObserverEjP14OpaqueEventRefPv + 165
> >
> > 5   HIToolbox   0x7ff822908bd2
> > _NotifyEventLoopObservers + 153
> >
> > 6   HIToolbox   0x7ff82293afb8
> > PostEventToQueueInternal + 700
> >
> > 7   HIToolbox   0x7ff82293c871
> > _ZL29CreateAndPostEventWithCGEventP9__CGEventjhP17__CFMachPortBoost +
> > 404
> >
> > 8   HIToolbox   0x7ff822948ee9
> > _ZL15Convert1CGEventh + 246
> >
> > 9   HIToolbox   0x7ff822948d91
> > _ZL16MainLoopObserverjP14OpaqueEventRefPv + 41
> >
> > 10  HIToolbox   0x7ff822908bd2
> > _NotifyEventLoopObservers + 153
> >
> > 11  HIToolbox   0x7ff82292f726
> > RunCurrentEventLoopInMode + 228
> >
> > 12  HIToolbox   0x7ff82292f396
> > ReceiveNextEventCommon + 199
> >
> > 13  HIToolbox   0x7ff82292f2b3
> > _BlockUntilNextEventMatchingListInModeWithFilter + 70
> >
> > 14  AppKit  0x7ff81c136f33 _DPSNextEvent + 
> > 909
> >
> > 15  AppKit  0x7ff81c135db4
> > -[NSApplication(NSEvent)
> > _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
> >
> > 16  grDevices.so0x0001086f7a3b input_handler 

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

2023-02-11 Thread Calboli Federico (LUKE)
Simon,

> On 11. Feb 2023, at 22.25, Simon Urbanek  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.


from what Christofer sent, apparently:

Running under: macOS Big Sur … 10.16


Cheers

F




> 
> Cheers,
> Simon
> 
> 
> 
>> On Feb 11, 2023, at 11:28 PM, Christofer Bogaso 
>>  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   0x7ff8229a2726 
>>> _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 102
>> 
>> 2   HIToolbox   0x7ff8229a22b8
>> _ZN15MenuBarInstance14EnableAutoShowEv + 52
>> 
>> 3   HIToolbox   0x7ff822946908
>> SetMenuBarObscured + 408
>> 
>> 4   HIToolbox   0x7ff8229464ca
>> _ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh
>> + 164
>> 
>> 5   HIToolbox   0x7ff822940996
>> _ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 252
>> 
>> 6   HIToolbox   0x7ff822908bd2
>> _NotifyEventLoopObservers + 153
>> 
>> 7   HIToolbox   0x7ff8229403e6
>> AcquireEventFromQueue + 494
>> 
>> 8   HIToolbox   0x7ff82292f3ec
>> ReceiveNextEventCommon + 285
>> 
>> 9   HIToolbox   0x7ff82292f2b3
>> _BlockUntilNextEventMatchingListInModeWithFilter + 70
>> 
>> 10  AppKit  0x7ff81c136f33 _DPSNextEvent + 
>> 909
>> 
>> 11  AppKit  0x7ff81c135db4
>> -[NSApplication(NSEvent)
>> _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
>> 
>> 12  grDevices.so0x0001086f7a3b input_handler + 
>> 155
>> 
>> 13  libR.dylib  0x000108b142cf
>> Rstd_ReadConsole + 2127
>> 
>> 14  libR.dylib  0x000108a15b74
>> Rf_ReplIteration + 100
>> 
>> 15  libR.dylib  0x000108a174b1 R_ReplConsole + 
>> 161
>> 
>> 16  libR.dylib  0x000108a17402 run_Rmainloop + 82
>> 
>> 17  libR.dylib  0x000108a1753e Rf_mainloop + 14
>> 
>> 18  R   0x00010847af5b main + 27
>> 
>> 19  dyld0x7ff818bde310 start + 2432
>> 
>> 1   HIToolbox   0x7ff822aa952b
>> _ZN15MenuBarInstance21IsAutoShowHideAllowedEv + 259
>> 
>> 2   HIToolbox   0x7ff8229a233e
>> _ZN15MenuBarInstance24UpdateAutoShowVisibilityE5Pointh + 34
>> 
>> 3   HIToolbox   0x7ff8229117a4
>> _ZN15MenuBarInstance16ForEachMenuBarDoEU13block_pointerFvPS_E + 46
>> 
>> 4   HIToolbox   0x7ff8229a293d
>> _ZN15MenuBarInstance20AutoShowHideObserverEjP14OpaqueEventRefPv + 165
>> 
>> 5   HIToolbox   0x7ff822908bd2
>> _NotifyEventLoopObservers + 153
>> 
>> 6   HIToolbox   0x7ff82293afb8
>> PostEventToQueueInternal + 700
>> 
>> 7   HIToolbox   0x7ff82293c871
>> _ZL29CreateAndPostEventWithCGEventP9__CGEventjhP17__CFMachPortBoost +
>> 404
>> 
>> 8   HIToolbox   0x7ff822948ee9
>> _ZL15Convert1CGEventh + 246
>> 
>> 9   HIToolbox   0x7ff822948d91
>> _ZL16MainLoopObserverjP14OpaqueEventRefPv + 41
>> 
>> 10  HIToolbox   0x7ff822908bd2
>> _NotifyEventLoopObservers + 153
>> 
>> 11  HIToolbox   0x7ff82292f726
>> RunCurrentEventLoopInMode + 228
>> 
>> 12  HIToolbox   0x7ff82292f396
>> ReceiveNextEventCommon + 199
>> 
>> 13  HIToolbox   0x7ff82292f2b3
>> _BlockUntilNextEventMatchingListInModeWithFilter + 70
>> 
>> 14  AppKit  0x7ff81c136f33 _DPSNextEvent + 
>> 909
>> 
>> 15  AppKit  0x7ff81c135db4
>> -[NSApplication(NSEvent)
>> _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
>> 
>> 16  grDevices.so0x0001086f7a3b input_handler + 
>> 155
>> 
>> 17  libR.dylib  0x000108b142cf
>> Rstd_ReadConsole + 2127
>> 
>> 18  libR.dylib  0x000108a15b74
>> Rf_ReplIteration + 100
>> 
>> 19  libR.dylib  0x000108a174b1 R_ReplConsole + 
>> 161
>> 
>> 20  libR.dylib  0x000108a17402 run_Rmainloop + 82
>> 
>> 21  libR.dylib  0x000108a1753e Rf_mainloop + 14
>> 
>> 22  R   0x00010847af5b main + 27
>> 
>> 23  dyld   

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

2023-02-11 Thread Simon Urbanek
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  
> 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   0x7ff8229a2726 
>> _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 102
> 
> 2   HIToolbox   0x7ff8229a22b8
> _ZN15MenuBarInstance14EnableAutoShowEv + 52
> 
> 3   HIToolbox   0x7ff822946908
> SetMenuBarObscured + 408
> 
> 4   HIToolbox   0x7ff8229464ca
> _ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh
> + 164
> 
> 5   HIToolbox   0x7ff822940996
> _ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 252
> 
> 6   HIToolbox   0x7ff822908bd2
> _NotifyEventLoopObservers + 153
> 
> 7   HIToolbox   0x7ff8229403e6
> AcquireEventFromQueue + 494
> 
> 8   HIToolbox   0x7ff82292f3ec
> ReceiveNextEventCommon + 285
> 
> 9   HIToolbox   0x7ff82292f2b3
> _BlockUntilNextEventMatchingListInModeWithFilter + 70
> 
> 10  AppKit  0x7ff81c136f33 _DPSNextEvent + 909
> 
> 11  AppKit  0x7ff81c135db4
> -[NSApplication(NSEvent)
> _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
> 
> 12  grDevices.so0x0001086f7a3b input_handler + 155
> 
> 13  libR.dylib  0x000108b142cf
> Rstd_ReadConsole + 2127
> 
> 14  libR.dylib  0x000108a15b74
> Rf_ReplIteration + 100
> 
> 15  libR.dylib  0x000108a174b1 R_ReplConsole + 161
> 
> 16  libR.dylib  0x000108a17402 run_Rmainloop + 82
> 
> 17  libR.dylib  0x000108a1753e Rf_mainloop + 14
> 
> 18  R   0x00010847af5b main + 27
> 
> 19  dyld0x7ff818bde310 start + 2432
> 
> 1   HIToolbox   0x7ff822aa952b
> _ZN15MenuBarInstance21IsAutoShowHideAllowedEv + 259
> 
> 2   HIToolbox   0x7ff8229a233e
> _ZN15MenuBarInstance24UpdateAutoShowVisibilityE5Pointh + 34
> 
> 3   HIToolbox   0x7ff8229117a4
> _ZN15MenuBarInstance16ForEachMenuBarDoEU13block_pointerFvPS_E + 46
> 
> 4   HIToolbox   0x7ff8229a293d
> _ZN15MenuBarInstance20AutoShowHideObserverEjP14OpaqueEventRefPv + 165
> 
> 5   HIToolbox   0x7ff822908bd2
> _NotifyEventLoopObservers + 153
> 
> 6   HIToolbox   0x7ff82293afb8
> PostEventToQueueInternal + 700
> 
> 7   HIToolbox   0x7ff82293c871
> _ZL29CreateAndPostEventWithCGEventP9__CGEventjhP17__CFMachPortBoost +
> 404
> 
> 8   HIToolbox   0x7ff822948ee9
> _ZL15Convert1CGEventh + 246
> 
> 9   HIToolbox   0x7ff822948d91
> _ZL16MainLoopObserverjP14OpaqueEventRefPv + 41
> 
> 10  HIToolbox   0x7ff822908bd2
> _NotifyEventLoopObservers + 153
> 
> 11  HIToolbox   0x7ff82292f726
> RunCurrentEventLoopInMode + 228
> 
> 12  HIToolbox   0x7ff82292f396
> ReceiveNextEventCommon + 199
> 
> 13  HIToolbox   0x7ff82292f2b3
> _BlockUntilNextEventMatchingListInModeWithFilter + 70
> 
> 14  AppKit  0x7ff81c136f33 _DPSNextEvent + 909
> 
> 15  AppKit  0x7ff81c135db4
> -[NSApplication(NSEvent)
> _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
> 
> 16  grDevices.so0x0001086f7a3b input_handler + 155
> 
> 17  libR.dylib  0x000108b142cf
> Rstd_ReadConsole + 2127
> 
> 18  libR.dylib  0x000108a15b74
> Rf_ReplIteration + 100
> 
> 19  libR.dylib  0x000108a174b1 R_ReplConsole + 161
> 
> 20  libR.dylib  0x000108a17402 run_Rmainloop + 82
> 
> 21  libR.dylib  0x000108a1753e Rf_mainloop + 14
> 
> 22  R   0x00010847af5b main + 27
> 
> 23  dyld0x7ff818bde310 start + 2432
> 
> 1   HIToolbox   0x7ff82292f0c2
> _ZN15MenuBarInstance22RemoveAutoShowObserverEv + 30
> 
> 2   HIToolbox   0x7ff8229467e3
> SetMenuBarObscured + 115
> 
> 3   HIToolbox   0x7ff82294d29e