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.

______________________________________________
R-help@r-project.org 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.

Reply via email to