on 08/09/2008 06:06 PM dusa.adrian wrote:
Dear Marc,


Marc Schwartz wrote:
On Fri, 2007-05-18 at 11:25 -0400, Hao Liu wrote:
Dear All:

I am running some GUI functions in linux environment, they runs fine, however I constantly get this kind of message in R console:

Warning: X11 protocol error: BadWindow (invalid Window parameter)

Is there a way to repress it? Or am I doing something wrong here.. it does not interfere with the running of fucntion though.

Thanks
Hao
Upgrade your version of R.

You have not provided sufficient details, but if I had to guess, you are
either running RCmdr or using other tcl/tk based widgets.

If correct, the error message that you are seeing was fixed back in R
2.4.0:

o       The X11() device no longer produces (apparently spurious)
        'BadWindow (invalid Window parameter)' warnings when run from
        Rcmdr.


I'm digging on a past message, where you said that message was fixed in R
2.4.0.
However, I'm using R 2.7.1 (under Kubuntu Hardy Heron, with tcl and tk
version 8.4) and still experience the same message with Rcmdr.
For reproduction, this happens when using (before loading Rcmdr):
options(Rcmdr=list(console.output=TRUE)).

In addition to this error message, I also get sometimes this one (repeated
17 times at once):

Warning in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class
= "tclObj") :
  X11 protocol error: BadWindow (invalid Window parameter)

R.version
               _
platform       i486-pc-linux-gnu
arch           i486
os             linux-gnu
system         i486, linux-gnu
status
major          2
minor          7.1
year           2008
month          06
day            23
svn rev        45970
language       R
version.string R version 2.7.1 (2008-06-23)

Thanks in advance for any hint,
Adrian

Hi Adrian,

Apologies for the delay in my reply. I am at useR in Dortmund and between travel this weekend, the sessions and some residual jet lag, I am just getting caught up on e-mails.

I am cc:ing John Fox (who is also here) as the author of Rcmdr, to see if he might have any ideas on this.

I also searched the list archives to see if there was anything recent that was relevant. The most recent post appears to be from John in August of last year:

  http://tolstoy.newcastle.edu.au/R/e2/help/07/08/23742.html

and suggests that there may be some issue at play here subsequent to the presumptive R 2.4.0 fix.

I will defer to John on any more definitive comments.

Regards,

Marc Schwartz

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to