[R] R 1.5.0 printing problems on Win98?

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Jun 3 08:41:36 CEST 2002



Michael Camann wrote:
> 
> Colleagues--
> 
> I'm having a problem upgrading to R 1.5.0 on a Windows 98 computer.  The
> windows() graphics device seems to behave strangely.  A call to windows()
> opens an active graphics device, as does a call to a plotting function,
> e.e. plot(1:5,1:5).  So far so good.  When I click on the Printer icon
> (with the graphics device active) nothing happens.  Likewise when I use
> win.print() from the console window.  

That's the same user error I ran into every time I try it.
Read the docs: win.print() opens a device. You have to close it after
plotting with
dev.off()


> The image prints if I exit R, which
> I presume flushes a buffer.  If I've attempted to print several plots
> during an R 1.5.0 session then only the last such attempt actually prints
> when I exit (although I'm not certain about the consistany of this
> behavior-- I've tried so many combinations of icon clicking and
> win.print()'ing that I've apparently flushed the buffer in other ways,
> e.g. by killing and restarting the graphics device (I think).  Anyway, no
> such strange behavior from R 1.4.1 on the same machine.
> 
> Is this a known issue? 

Yes, the printer icon one. It is fixed in R-patched.
I think Windows binaries of a fixed release are somewhere on Brian
Ripley's pages.
Where exactly was mentioned by himself a few weeks ago on R-help, you'll
find it by searching the archives...


> I haven't seen any mention of it on r-help.  Is
> there additional information I can provide to help resolve the problem?


Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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