Dear all,

Beyond the occasional red warnings about the 'NSPop….' buttons, warmups, etc. 
and similar issues reported elsewhere here I’ve noted the slowdown of R console 
with more and more output. Here is what I do to reliably reproduced it on my 
machine - MacBook Pro 2017 with Touch Bar (sessionInfo() is below).

1. Start fresh R-gui

2. Paste the following text in the editor. Note that lines are commented, this 
is enough to show the problem. It obvisouly gets worse if R has to evaluate.

# m[[ 1]] <- .f(update(fml, . ~ . -x1 + x2))
# m[[ 2]] <- .f(update(fml, . ~ . -x1 + x2 + x3))
# m[[ 3]] <- .f(update(fml, . ~ . -x1 + x2 + x4))
# m[[ 4]] <- .f(update(fml, . ~ . -x1 + x2 + x5))
# m[[ 5]] <- .f(update(fml, . ~ . -x1 + x2 + x6))
# m[[ 6]] <- .f(update(fml, . ~ . -x1 + x2 + x7))
# m[[ 7]] <- .f(update(fml, . ~ . -x1 + x2 + x8))
# m[[ 8]] <- .f(update(fml, . ~ . -x1 + x2 + x9))
# m[[ 9]] <- .f(update(fml, . ~ . -x1 + x2 + x10))
# m[[10]] <- .f(update(fml, . ~ . -x1 + x2 + x11))

3. Execute as block once - the output appears almost immediately. Execute the 
second time - the slight delay is already noticeable. Continue to 3-4 time and 
the delay between the Cmd+Enter and the output is now up to 3-4 seconds and 
occasional beachball…

Any help is greatly appreciated.
Yan

Here is the sessionInfo()

******
R version 4.0.5 (2021-03-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.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.5


Ce message électronique et tous les fichiers attachés qu'il contient sont 
confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils 
sont adressés. Si vous avez reçu ce message par erreur, merci de le retourner à 
son émetteur. Les idées et opinions présentées dans ce message sont celles de 
son auteur, et ne représentent pas nécessairement celles de l’institution ou 
les entités affiliées dont dépend l’auteur. La publication, l'usage, la 
distribution, l'impression ou la copie non autorisée de ce message et des 
attachements qu'il contient sont strictement interdits ». “This email and any 
files transmitted with it are confidential and intended solely for the use of 
the individual or entity to whom they are addressed. If you have received this 
email in error please return it to the sender. The ideas and views expressed in 
this email are solely those of its author, and do not necessarily represent the 
views of the institution or company the author is dependent from. Unauthorized 
publication, use, distribution, printing or copying of this e-mail or any 
attached files is strictly forbidden.

        [[alternative HTML version deleted]]

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

Reply via email to