[R] R: graphics devices

Sean O'Riordain sean.oriordain at gmail.com
Fri Jul 29 13:34:32 CEST 2005


Alan,
I'm not sure what you mean...

perhaps

plot(y~x) # to the screen
pdf("myplot.pdf")
plot(y~x) # write the plot to the file
dev.off() # close the file
dev.off() # close the graphics window

s/

On 29/07/05, Clark Allan <Allan at stats.uct.ac.za> wrote:
> a simple question
> 
> how does one produce plots on two different graphics devices?
> 
> /
> allan
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 
>




More information about the R-help mailing list