Re: [R] R: graphics devices

From: Sean O'Riordain <sean.oriordain_at_gmail.com>
Date: Fri 29 Jul 2005 - 21:34:32 EST

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@stats.uct.ac.za> wrote:
> a simple question
>
> how does one produce plots on two different graphics devices?
>
> /
> allan
>
> ______________________________________________
> R-help@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
>
>



R-help@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 Received on Fri Jul 29 21:40:15 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:37 EST