Skip to content

How to repress the annoying complains from X window system

4 messages · Hao Liu, Marc Schwartz

#
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
#
On Fri, 2007-05-18 at 11:25 -0400, Hao Liu wrote:
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.

HTH,

Marc Schwartz
#
You might want to find out how R was installed and suggest the he/she
installs the latest version of R. 

If from a pre-compiled binary, the update will likely be 2.5.0 and if
from source, be sure that they install using the latest R 2.5.0 Patched
source tarball from:

  ftp://ftp.stat.math.ethz.ch/Software/R/

In addition, have them run, as 'root', update.packages() from with an R
session started using:

  R --vanilla

to update any installed packages that might be causing a conflict.

HTH,

Marc
On Fri, 2007-05-18 at 13:14 -0400, Hao Liu wrote: