RE: [R] a loop question

2004-02-27 Thread Ko-Kang Kevin Wang
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Susan Lin > Sent: Saturday, February 28, 2004 10:10 AM > To: [EMAIL PROTECTED] > Subject: [R] a loop question > > I want to get three .gif image files test.1.gif, > test.2.gif, & test.3.gif by using a l

Re: [R] a loop question

2004-02-27 Thread Achim Zeileis
On Fri, 27 Feb 2004 13:09:40 -0800 (PST) Susan Lin wrote: > I want to get three .gif image files test.1.gif, > test.2.gif, & test.3.gif by using a loop. The code I > tried is like this: > x=c(0, 1, 2, 3, 4) > y=c(1, 2, 3, 4) > for(i in 1:3) > { > x11() > jp