Re: [R] save single image when using plot(lm(y~x))

From: Juliet Hannah <juliet.hannah_at_gmail.com>
Date: Fri, 28 Nov 2008 16:42:01 -0500

Try:
mylm <- plot(lm(y~x))
plot(mylm,which=2)

On Fri, Nov 28, 2008 at 4:12 PM, Schreiber, Stefan <Stefan.Schreiber_at_ales.ualberta.ca> wrote:
> Dear List!
>
> When I'm using "plot(lm(y~x))" R shows me 4 different plots. They pop-up
> individually by clicking on the graph. How can I save for example the
> 2nd plot? I've found a camera button that says "copy to the clipboard
> as a metafile" once you place the mouse pointer on it. I tried, though
> it's not working.
>
> Any other suggestions?
>
> Thanks!!
>
> Stefan
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 28 Nov 2008 - 21:44:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 29 Nov 2008 - 00:30:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive