Col3 <- unique(Msg17$V3) LCol3 <- length(Col3) for (i in 1:LCol3) { print(paste("Column", Col3[i])) write.table(Msg17[Msg17$V3==Col3[i],-3], row.names=F, col.names=F,quote=F) # If you R implementation does not accept 'F', use 'FALSE' }
-- View this message in context: http://r.789695.n4.nabble.com/Output-formatting-in-Latex-and-R-tp4483631p4483863.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.