[R] for plots

jim holtman jholtman at gmail.com
Fri Aug 17 07:41:13 CEST 2007


Turn 'Recording" on for the plots.

windows(record=TRUE)

or select from the GUI.

On 8/17/07, Brad Zhang <gczhang at meddent.uwa.edu.au> wrote:
> Hi, All,
>
> I am a beginner for R. Now I have installed R 2.5.1 in Window
> environment. After I run a program such as "gam" I would like to display
> a plot for the object. The following is an example. When I did this,
> only the last plot was presented on my screen. How can I get a plot
> before the last plot? I mean if the object has several plots how can I
> get those?
>
>
>
> "gam.object <- gam(y ~ s(x,6) + z,data=gam.data)
>
> plot(gam.object,se=TRUE)"
>
>
>
>
>
> Thank you.
>
>
>
> Brad.
>
>
> Dr. Guicheng (Brad) Zhang
> Senior Research Officer
>
> School of Paediatrics and Child Health
> Telethon Institute for Child Health Research
> 100 Roberts Road, Subiaco
> Western Australia, 6008 AUSTRALIA
>
> Email: Bradz at ichr.uwa.edu.au
> Phone: 93407896
> Fax: 93882097
>
>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> 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
> and provide commented, minimal, self-contained, reproducible code.
>


-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?



More information about the R-help mailing list