Dear R-helpers, I need to retrieve the data frames generated in a for loop. What I have looks something like this:
where tab is a pre-existing data frame. for (i in 1:20) { g<-sample(rep(LETTERS[1:2],each=10)) combination<-data.frame(tab,g) } I tried to name every single combination doing this: assign(paste('combination',i), combination) without success. I need to retrieve every combination per separate. Thank you once again for your help. ____________________________________________________________________________________ Looking for last minute shopping deals? ______________________________________________ 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.