RStudio crashes every time I run library(Rcmdr)
(R Commander, version 2.7-2
) in RStudio (I used the current stable release and 2022.7.0.545 preview) on Windows 10 and R 4.2.0. The same issue in both. The package should open GUI written in TCL-TK. I tried examples from tcltk
package and they worked. I updated all packages from CRAN. When I use R GUI, the package Rcmdr opens as expected.
- Windows users, can you reproduce the error?
- How to debug this error? Is there a solution?
RStudio Edition : Desktop [Open Source]
RStudio Version : 2022.7.0.545
OS Version : Windows 10 x64 (build 19044)
R Version : R version 4.2.0 (2022-04-22 ucrt)
UPDATE 1
I tried to reinstall RStudio and to reset the RStudio state (remove folders) as described here: https://support.rstudio.com/hc/en-us/articles/200534577-Resetting-RStudio-Desktop-s-State It did not help.
I tried installing Rcmdr 2.6-2
and 2.5
– It did not help.
UPDATE 2
I tried switching to R 4.1.3
with (Rcmdr
2.7-2
and RStudio 2022.7.0.545
preview). Now it works.