I have a question about the "write.table" I have 100 data.frames, loci1, loci2, loci3.............,loci100. now, I want to print these data.frames to 100 separate files, and the names of the files are also loci1, loci2, loci3,......., loci100.
how to perform this under a "for" loop? say, for (i in 1:100) { write.table(...., file='...', ........) } thank you, karena -- View this message in context: http://r.789695.n4.nabble.com/question-about-write-table-tp2126309p2126309.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.