[R] how to rest the variables

kayj kjaja27 at yahoo.com
Tue Feb 9 20:02:29 CET 2010


Hi ,

I have several commands that I want to run, I was wondering if there is an
easy way to reset my variables before the start of each run

for ( i in 1:200){
reset the variables 
run the commands
}

My solution right now is to set all my vectors to 0 and my data frames to
NULL after the start of the loop. Is there an easy way to do this?

Thanks,




-- 
View this message in context: http://n4.nabble.com/how-to-rest-the-variables-tp1474869p1474869.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list