Skip to content
Prev 79560 / 398502 Next

tk problem with R 2.2.0 on wine/linux

Philippe Grosjean wrote:
This is what I am trying to do - it seems to be some interaction to
the windows manager. I tried running "library(tcltk); demo(tkdensity)"
under native R on linux - it works, but on exit from R, I get a bunch of 
warning messages like this:

Warning messages:
1: X11 protocol error: BadWindow (invalid Window parameter)
2: X11 protocol error: BadWindow (invalid Window parameter)
3: X11 protocol error: BadWindow (invalid Window parameter)
4: X11 protocol error: BadWindow (invalid Window parameter)
5: X11 protocol error: BadWindow (invalid Window parameter)
6: X11 protocol error: BadWindow (invalid Window parameter)
7: X11 protocol error: BadWindow (invalid Window parameter)
8: X11 protocol error: BadWindow (invalid Window parameter)
9: X11 protocol error: BadWindow (invalid Window parameter)
10: X11 protocol error: BadWindow (invalid Window parameter)

So it seems the tcltk is doing something not quite correct, and
the problem is serious enough under wine to stop the whole thing.
It is quite useable - I think screen refreshes and updates are 
significantly slower, so don't expect to do animations, but the Rgui
and Rconsole are not noticeably slower than native.