[R] dev.print() bug?

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed Sep 20 08:21:30 CEST 2000


On Tue, 19 Sep 2000, Pierre Kleiber wrote:

> dev.print() seems to get confused when the graphics window is
> resized as in the following:
> 
>    > plot(1,1)
>    > dev.print()
>    X11 
>      2 
>    > #---  resize graphics device window with mouse---
>    > dev.print()
>    Error in dev.print() : Object "hp" not found
> 
> Vital statistics:
>    R : Copyright 2000, The R Development Core Team
>    Version 1.1.1  (August 15, 2000)
>    Linux Red Hat 6.1
> 
> I don't recall anything about this behavior in the recent chatter 
> about dev.print(), and I didn't find it in the help archives.  
> Has this been reported before?... and does anyone know of a 
> work-around (besides keeping my hand off the mouse)?

In dev.print replace the line

        wh <- 10

by

        hp <- 10

It's a thinko ....


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list