From Kurt.Hornik@ci.tuwien.ac.at  Wed Aug 22 10:50:49 2001
From: Kurt.Hornik@ci.tuwien.ac.at (Kurt Hornik)
Date: Wed, 22 Aug 2001 11:50:49 +0200
Subject: [Rd] X11 protocol errors after all x11 devices are closed (PR#1065)
In-Reply-To: <200108220627.IAA29451@pubhealth.ku.dk>
References: <200108220627.IAA29451@pubhealth.ku.dk>
Message-ID: <15235.32889.867213.440574@mithrandir.hornik.net>

>>>>> ripley  writes:

>> x11()
>> dev.off()
> null device
>           1
>> x11()
>> plot.new()
> Warning messages:
> 1: X11 protocol error: BadAccess (attempt to access private resource denied)
> 2: X11 protocol error: BadAccess (attempt to access private resource denied)

> This only happens if all x11 devices are shut down, so the X11 connection
> is restarted.  We had problems with this when the event handlers
> were changed prior to 1.3.0, and it looks as if the logic is still
> incorrect.

> As far as I can see subsequent plots are correct.

> Carrying on:

>> dev.off()
> null device
>           1
>> x11()
>> plot.new()
> Warning message:
> X11 protocol error: BadAccess (attempt to access private resource denied)

> (only one error this time).

On Debian GNU/Linux, I do not seem to get the errors:

R> x11()
R> dev.off()
null device 
          1 
R> x11()
R> plot.new()
R> dev.off()
null device 
          1 
R> x11()
R> plot.new()

-k


> --please do not edit the information below--

> Version:
>  platform = sparc-sun-solaris2.7
>  arch = sparc
>  os = solaris2.7
>  system = sparc, solaris2.7
>  status =
>  major = 1
>  minor = 3.0
>  year = 2001
>  month = 06
>  day = 22
>  language = R

> Search Path:
>  .GlobalEnv, package:ctest, Autoloads, package:base


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] X11 protocol errors after all x11 devices are closed (PR#1065)
Kurt Hornik