Dominic_Barraclough@urmc.rochester.edu
2000-Aug-28 16:58 UTC
[R] is win.print() broken or am I doing something wrong?
I am trying to print a graph> plot(y=atestplot$b,x=atestplot$a, type="s") > win.print()This leads to a windows print dialog box- that diappears when i hit print. subquently i find a "GraphAppJob" of zero size in the print queue- this just sits until I enter dev.off() at which point a blank sheet is printed Is it me or is this a bug? Incidentally if i just select the print button when the plot is selected immediately after producing the plot it prints just fine Dominic Dr Dominic J Barraclough Dept Neurobiology and Anatomy, University of Rochester, 601 Elmwood Av, Box 603, Rochester NY 14642 tel (716) 2753627 dominic_barraclough at urmc.rochester.edu -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Thomas Lumley
2000-Aug-28 17:14 UTC
[R] is win.print() broken or am I doing something wrong?
On Mon, 28 Aug 2000 Dominic_Barraclough at urmc.rochester.edu wrote:> I am trying to print a graph > > > plot(y=atestplot$b,x=atestplot$a, type="s") > > win.print() > > This leads to a windows print dialog box- that diappears when i hit > print. subquently i find a > "GraphAppJob" of zero size in the print queue- this just sits until I > enter > dev.off() > at which point a blank sheet is printed > Is it me or is this a bug?It's you :). win.print() does not print the current plot. It creates a new plot on a windows printer. So when you do win.print() nothing happens until you plot something and close the device. Then it prints whatever you plotted (in your case, nothing). I think you are looking for dev.print/dev.copy.> > Incidentally if i just select the print button when the plot is selected > immediately after producing the plot it prints just fineYes. -thomas Thomas Lumley Assistant Professor, Biostatistics University of Washington, Seattle -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Dominic_Barraclough@urmc.rochester.edu
2000-Aug-28 17:31 UTC
[R] is win.print() broken or am I doing something wrong?
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 :-( . Dominic Dr Dominic J Barraclough Dept Neurobiology and Anatomy, University of Rochester, 601 Elmwood Av, Box 603, Rochester NY 14642 tel (716) 2753627 dominic_barraclough at urmc.rochester.edu -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Reasonably Related Threads
- Is there a method to calculate Huynh and Feldt adjustments for sphericity violations
- JOB: Biostatistician/Statistical Programmer/Data Analyst
- JOB: Biostatistician/Statistical Programmer/Data Analyst
- duplicated names and values
- 10x slower merge in mac 2.9.1 vs. 2.9.0 (PR#13890)