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

Juliet Hannah juliet.hannah at gmail.com
Fri Nov 28 22:42:01 CET 2008


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



More information about the R-help mailing list