Re: [R] writing function (plot problem)

2010-04-10 Thread jim holtman
?devAskNewPage On Sat, Apr 10, 2010 at 7:49 PM, casperyc wrote: > > Hi, > > === > x=rnorm(20) > y=rnorm(20) > t=lm(y~x) > plot(t) > === > > you will get > > "click or hit enter to next page..." > > how do I write a function to archieve this ? > > say > > p

[R] writing function (plot problem)

2010-04-10 Thread casperyc
Hi, === x=rnorm(20) y=rnorm(20) t=lm(y~x) plot(t) === you will get "click or hit enter to next page..." how do I write a function to archieve this ? say plot(x,y) then pause, wait plot(y,x) Thanks! casper -- View this message in context: http://n4