Re: [R-SIG-Mac] NSButton Message in R.app

2020-12-14 Thread Macdonald, Peter
Simon, many thanks for your response. The only real danger in leaving it there 
is that the big red error message will frighten a newbie who will think they 
have done something very bad!

Peter

> On Dec 14, 2020, at 9:43 PM, Simon Urbanek  
> wrote:
> 
> Unfortunately, I don't have a Mac with a touch bar to replicate it, I'll see 
> if there is any other way to test it. The GUI doesn't actually use the touch 
> bar, so it's not clear where that message comes from. It seems like just a 
> benign output from the system - it doesn't really affect any functionality, 
> but if it annoys you, you can disable it until we find out more - see R for 
> Mac FAQ 10.4.
> 
> Cheers,
> Simon
> 
> 
>> On 15/12/2020, at 1:14 PM, Macdonald, Peter  wrote:
>> 
>> We discussed this in r-sig-mac a couple of weeks ago but the thread got 
>> hijacked by unrelated Big Sur issues and I don’t think this problem was ever 
>> resolved.
>> 
>> It seems to be an issue with R GUI and MacBook Pro. It arose with the final 
>> versions of Catalina and continued with Big Sur on my 15 inch 2018 MacBook 
>> Pro. The error is generated whenever the GUI uses the Touch Bar.
>> 
>> The Touch Bar works correctly despite and I’ve seen no other consequences.
>> 
>> I was going to bring this up again, thanks for saving me the trouble!
>> 
>> Hoping that an R GUI developer can fix it?
>> 
>> Thanks,
>> Peter 
>> 
>> --
>> Peter D.M. Macdonald, D.Phil., P.Stat.   
>> Professor Emeritus of Math & Statistics
>> McMaster University
>> Hamilton, Ontario, Canada L8S 4K1
>> 
>> 
>> 
>> 
>>> On Dec 14, 2020, at 6:43 PM, Chacko, George  wrote:
>>> 
>>> Hello all:
>>> 
>>> My apologies if I’m not providing this information in a useful manner, I’m 
>>> new to this list. I’d be happy to revise this message for greater clarity 
>>> with a little advice from the list. After upgrading to Big Sur on a 16 inch 
>>> Macbook Pro, I’ve noticed an NSButton warning message. Reinstalling R 
>>> hasn’t helped. Thanks for any advice. George Chacko
>>> 
>>> 
>>> 1.  when R.app is started up
>>> 
>>> 2020-12-14 09:24:32.330 R[30638:726731] Warning: Expected min height of 
>>> view: () to be less than or 
>>> equal to 30 but got a height of 32.00. This error will be logged once 
>>> per view in violation.
>>> 
>>> 
>>> 1.  Once R is running, if I use Command-W to exit and then hit cancel, 5 
>>> copies of this message are printed on screen.
>>> 
>>> 2020-12-14 09:25:25.900 R[30638:726731] Warning: Expected min height of 
>>> view: () to be less than or equal to 30 but got a 
>>> height of 32.00. This error will be logged once per view in violation.
>>> 2020-12-14 09:25:25.904 R[30638:726731] Warning: Expected min height of 
>>> view: () to be less than or equal to 30 but got a 
>>> height of 32.00. This error will be logged once per view in violation.
>>> 2020-12-14 09:25:25.904 R[30638:726731] Warning: Expected min height of 
>>> view: () to be less than or equal to 30 but got a 
>>> height of 32.00. This error will be logged once per view in violation.
>>> 2020-12-14 09:25:27.513 R[30638:726731] Warning: Expected min height of 
>>> view: () to be less than or equal to 30 but got a 
>>> height of 32.00. This error will be logged once per view in violation.
>>> 2020-12-14 09:25:27.516 R[30638:726731] Warning: Expected min height of 
>>> view: () to be less than or equal to 30 but got a 
>>> height of 32.00. This error will be logged once per view in violation.
>>> 2020-12-14 09:25:27.517 R[30638:726731] Warning: Expected min height of 
>>> view: () to be less than or equal to 30 but got a 
>>> height of 32.00. This error will be logged once per view in violation.
>>> 
>>> 
>>> 
>>> 
>>>> utils::sessionInfo()
>>> R version 4.0.3 (2020-10-10)
>>> 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.0/Resources/lib/libRblas.dylib
>>> LAPACK: 
>>> /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib
>>> 
>>> locale:
>>> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>>> 
>>> attached base packages:
>>> [1] stats graphics  grDevices utils  

Re: [R-SIG-Mac] NSButton Message in R.app

2020-12-14 Thread Macdonald, Peter



We discussed this in r-sig-mac a couple of weeks ago but the thread got hijacked by unrelated Big Sur issues and I don’t think this problem was ever resolved.


It seems to be an issue with R GUI and MacBook Pro. It arose with the final versions of Catalina and continued with Big Sur on my 15 inch 2018 MacBook Pro. The error is generated whenever the GUI uses the Touch Bar.


The Touch Bar works correctly despite and I’ve seen no other consequences.


I was going to bring this up again, thanks for saving me the trouble!


Hoping that an R GUI developer can fix it?


Thanks,
Peter 



--

Peter D.M. Macdonald, D.Phil., P.Stat.   
Professor Emeritus of Math & Statistics
McMaster University
Hamilton, Ontario, Canada L8S 4K1








On Dec 14, 2020, at 6:43 PM, Chacko, George  wrote:


Hello all:

My apologies if I’m not providing this information in a useful manner, I’m new to this list. I’d be happy to revise this message for greater clarity with a little advice from the list. After upgrading to Big Sur on a 16 inch Macbook Pro, I’ve noticed an NSButton
 warning message. Reinstalling R hasn’t helped. Thanks for any advice. George Chacko


 1.  when R.app is started up

2020-12-14 09:24:32.330 R[30638:726731] Warning: Expected min height of view: () to be less than or equal to 30 but got a height of 32.00. This error will be logged once per view in violation.


 1.  Once R is running, if I use Command-W to exit and then hit cancel, 5 copies of this message are printed on screen.

2020-12-14 09:25:25.900 R[30638:726731] Warning: Expected min height of view: () to be less than or equal to 30 but got a height of 32.00. This error will be logged once per view in violation.
2020-12-14 09:25:25.904 R[30638:726731] Warning: Expected min height of view: () to be less than or equal to 30 but got a height of 32.00. This error will be logged once per view in violation.
2020-12-14 09:25:25.904 R[30638:726731] Warning: Expected min height of view: () to be less than or equal to 30 but got a height of 32.00. This error will be logged once per view in violation.
2020-12-14 09:25:27.513 R[30638:726731] Warning: Expected min height of view: () to be less than or equal to 30 but got a height of 32.00. This error will be logged once per view in violation.
2020-12-14 09:25:27.516 R[30638:726731] Warning: Expected min height of view: () to be less than or equal to 30 but got a height of 32.00. This error will be logged once per view in violation.
2020-12-14 09:25:27.517 R[30638:726731] Warning: Expected min height of view: () to be less than or equal to 30 but got a height of 32.00. This error will be logged once per view in violation.




utils::sessionInfo()

R version 4.0.3 (2020-10-10)
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.0/Resources/lib/libRblas.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base

loaded via a namespace (and not attached):
[1] compiler_4.0.3


Model Name:  MacBook Pro

 Model Identifier:   MacBookPro16,1

 Processor Name: 8-Core Intel Core i9

 Processor Speed:    2.3 GHz

 Number of Processors:    1

 Total Number of Cores:   8

 L2 Cache (per Core):    256 KB

 L3 Cache: 16 MB

 Hyper-Threading Technology:    Enabled

 Memory:    32 GB

 System Firmware Version:  1554.50.3.0.0 (iBridge: 18.16.12561.0.0,0)

 Serial Number (system):  C02DM3MVMD6T

 Hardware UUID:   4A8B6D86-683A-5ED1-A229-BD6147F02F11

 Provisioning UDID:   4A8B6D86-683A-5ED1-A229-BD6147F02F11

 Activation Lock Status:    Disabled





[[alternative HTML version deleted]]

___
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


Re: [R-SIG-Mac] Problems with R and Big Sur

2020-12-02 Thread Macdonald, Peter



I think it is a MacBook Pro issue. I’m using a MacBook Pro (15-inch, 2018), R 4.0.3, MacOS 11.01 and it happens whenever R GUI accesses the Touch Bar, with fix() or load() in particular.


Unfortunately, I assumed it would go away so I didn’t take careful notes when I first saw, but I think it started happening with the final versions of Catalina and R 4.0.2. I googled the error message at the time and count find anyone else reporting
 it.


As far as I can tell the error is benign, the Touch Bar still works and there is no degradation in performance.






--

Peter D.M. Macdonald, D.Phil., P.Stat.   
Professor Emeritus of Math & Statistics
McMaster University
Hamilton, Ontario, Canada L8S 4K1








On Dec 2, 2020, at 8:15 AM, Bob Rudis  wrote:


After a bit of git and google poking it seems this is happening to users
of MacVim (https://github.com/macvim-dev/macvim/issues/1114) and a few
other FOSS projects.

In various GH issues (like that one) the issue claims to be resolved by
using the latest Xcode & SDK but that’s not likely to be a solution for R
GUI (which I’m assuming you're using and where this error is coming up).

Some of the threads I saw made it seem like it was happening especially on
Touch Bar-equipped MacBook Pros (but that’s not confirmed).

When I try R GUI on Big Sur (on the new M1 Mini) — either just plain R
scripts or plotting — I do not see this, nor do I see this on my Intel
MacBook Pro (both are on the latest Big Sur beta and R 4.0.3).

On Dec 2, 2020 at 7:53:26 AM, Spencer Graves 
wrote:

I didn't get this with R 4.0.3 under macOS Big Sur 11.0.1 with "time
R CMD build" / check.  I have not tried it under RStudio.


sg


On 2020-12-02 05:01, Dr Eberhard W Lisse wrote:

I don't get this in 4.0.3 (using the command line version of R) and I

don't get this in RStudio 1.3.1093 either.  I use the homebrew versions

without the R GUI even installed.


I am sure more detail will be helpful to the developers.


el


On 02/12/2020 11:09, Maria-Angeles Casares-de-Cal via R-SIG-Mac wrote:

To those in charge of R for Mac OS X:





I have installed the new Big Sur operating system and now I always get


a warning similar to:





2020-12-02 09:52:00.647 R[703:11786] Warning: Expected min height of


view: () to be less than


or equal to 30 but got a height of 32.00.  This error will be


logged once per view in violation.





and the computer becomes very slow.





Can I do something to fix it, or will we have to wait for an R update?





Thank you very much for your attention.





Sincerely,





María-Ángeles Casares-de-Cal


[...]



___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac



[[alternative HTML version deleted]]

___
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