[R-SIG-Mac] error stream getting unworkable.

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Sat Aug 6 12:11:46 CEST 2022


On 06/08/2022 6:00 a.m., Timothy Bates wrote:
> Hi Duncan,
> I’m using the current release MacOS 12/Monterey. and also the version scheduled for release in Fall (MacOS 13/Ventura developer),
> 
> Catalina is three years old which might explain our different experience - A lot of the error stream refers to use of deprecated function calls, which increase with each version.

Yes, that likely explains it.
> 
> I haven’t yet started tot keep a list of all the warnings/errors but many are due to R.app calling deprecated MacOS functions. Those should be updated to current functions. Also failures to support newer OS requirements (like, I think idling/app sleep). I’ll note here also that RR,app doesn’t support the new "Stage manager” windowing which will be ubiquitous in a few months: The drop downs for code completion render in their own mini windows, and the main window doesn’t come to the front on launch.
> 
> Redirecting system call errors to a log file would help users by keeping the console free of spurious text
> 
> Preferably, putting the Xcode project on github and accepting pull requests could allow more eyes on this.
> Or perhaps sponsor a summer cleanup  project for a student to modernise the codebase.

The project is online in svn at

   https://svn.r-project.org/R-packages/trunk/Mac-GUI

Check out using

   svn co https://svn.r-project.org/R-packages/trunk/Mac-GUI

Build details are here:

   https://svn.r-project.org/R-packages/trunk/Mac-GUI/INSTALL

I don't know how receptive the authors are to patches, but the way to 
produce them is to check out the current sources, make your changes, 
then run

   svn diff --internal-diff >something.diff

and send something.diff to the authors.  Not as convenient as github, 
but not really all that different.

Duncan Murdoch


> 
> best, tim
> 
> R version: R version 4.2.1 (2022-06-23)
> Platform: x86_64-apple-darwin17.0
> MacOS: 13.0
> 
> 
>> On 6 Aug 2022, at 10:38, Duncan Murdoch <murdoch.duncan using gmail.com> wrote:
>>
>> I only see very occasional errors in the console.  What versions of the OS and R are you using?  I'm using Catalina 10.15.7 with R.app 1.79 (8095 High Sierra build) running R 4.2.1.
>>
>> Duncan Murdoch
>>
>> On 06/08/2022 5:26 a.m., Timothy Bates wrote:
>>> Just to say that the stream of error text in the console is at the point where usability is dramatically impaired.
>>> Entering a model and generating output both file the console with error code,,,
>>> Even moving the cursor now triggers lines of reporting for each move
>>> No other app does this, and I think we need a solution
>>> examples below...
>>> Warning: Could not create system idle sleep assertion (-536870211)
>>> 2022-08-05 09:21:34.468 R[476:3215] *** -[_NSActivityAssertion _initWithActivityOptions:reason:expirationHandler:]: Warning: Could not create system idle sleep assertion (-536870211)
>>> 2022-08-05 09:21:34.469 R[476:3215] *** -[_NSActivityAssertion _initWithActivityOptions:reason:expirationHandler:]: Warning: Could not create system idle sleep assertion (-536870211)
>>> 2022-08-05 09:20:43.962 R[476:3215] *** -[_NSActivityAssertion _initWithActivityOptions:reason:expirationHandler:]: Warning: Could not create system idle sleep assertion (-536870211)
>>>> m1 = lm(BaddeleyB ~ SOSeffort, data = df); umxAPA(m1, std = TRUE)
>>> 2022-08-05 09:22:00.025 R[476:3215] *** -[_NSActivityAssertion _initWithActivityOptions:reason:expirationHandler:]: Warning: Could not create system idle sleep assertion (-536870211)
>>> (Intercept) β = 0 [-0.1, 0.1], t = 0, p = 1.000
>>> SOSeffort β = 0.26 [0.15, 0.36], t = 4.88, p < 0.001
>>> R² = 0.067 (adj = 0.065)2022-08-05 09:22:00.050 R[476:3215] *** -[_NSActivityAssertion _initWithActivityOptions:reason:expirationHandler:]: Warning: Could not create system idle sleep assertion (-536870211)
>>> Located match from cache: item 'Paste' in menu 'Edit' with match penalty 0
>>> Choosing result from list: item 'Paste' in menu 'Edit' with match penalty 0
>>> The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac using r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac using r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> _______________________________________________
> 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