R: grab failed: window not viewable

Hi, I am working with the r package and have some problems when I update/install r packages

> update.packages()
--- Please select a CRAN mirror for use in this session ---
Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") : 
  [tcl] grab failed: window not viewable.

It used to pop up a window to let me choose, but it suddenly don’t do that anymore, of course I can use it without the pop up window by setting chooseCRANmirror(graphics=FALSE), but I am just wondering why it does not pop up windows anymore.

Any ideas? :slight_smile:

System: up-to-date Endeavour, with Intel and Nvidia

Unfortunately I can’t help, because on my system the CRAN window pops up as expected. It seems to me it’s likely a problem with your tcl/tk set-up. I found this link which might help: https://groups.google.com/g/spacecapforum/c/3-J5GDUCM90?pli=1 My system which works as expected is:

1 Like

r get updated recently, and now I have the pop up window. (though I am not sure if it is the r update or other package update that fixed this.)

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.