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

Schreiber, Stefan Stefan.Schreiber at ales.ualberta.ca
Fri Nov 28 22:45:55 CET 2008


Woohoo!

Thanks a lot Juliet!

Stefan


-----Original Message-----
From: Juliet Hannah [mailto:juliet.hannah at gmail.com] 
Sent: Friday, November 28, 2008 2:42 PM
To: Schreiber, Stefan
Cc: r-help at r-project.org
Subject: Re: [R] save single image when using plot(lm(y~x))

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