[R] is win.print() broken or am I doing something wrong?

Thomas Lumley thomas at biostat.washington.edu
Mon Aug 28 21:33:01 CEST 2000


On Mon, 28 Aug 2000 Dominic_Barraclough at urmc.rochester.edu wrote:

> Thankyou for the prompt reply and the redirection (back to trying 
> dev.print- i had tried it but it did not seem to do what i wanted)
> 
> Next question - 
> I have now played with dev.print- and have been able to get my 
> graph out to a postscript file but what i really would like to do is to 
> print directly to the printer - can this be done? I assume (hope) it 
> must be possible , given that R is at least some level aware of  
> printing in a windows enviroment, if not I will have to revert back to 
> driving  excel with python via com :-(  .

You can use win.print for this, you just have to do your plotting *after*
you start it

eg

win.print()
plot(this)
plot(that)
plot(the.other.thing)
dev.off()

	-thomas

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