Re: [R] getting a function to do something

2010-09-18 Thread pdb
as, silly me. clearG() this now works! -- View this message in context: http://r.789695.n4.nabble.com/getting-a-function-to-do-something-tp2545594p2545596.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org maili

[R] getting a function to do something

2010-09-18 Thread pdb
Hi, I want to repeatedly do a task, so thought I could put it in a function and then just call the function. The task is just clearing all the graphics devices and then opening a new one of a specified size. Now, when I call the function below, nothing appears to happen. But when I run the 2 lin