Re: [R] Writting multiple tables to csv

2009-06-19 Thread Gabor Grothendieck
Try using append= like this where BOD is built into R: write.table(BOD[1:3,], "BOD.txt", row.names = FALSE, sep = "\t") write.table(BOD[4:5,], "BOD.txt", row.names = FALSE, sep = "\t", col.names = FALSE, append = TRUE) On Fri, Jun 19, 2009 at 5:20 PM, baked Toast wrote: > Hey, > > Is it possible

[R] Writting multiple tables to csv

2009-06-19 Thread baked Toast
Hey, Is it possible to write multiple tables at once to a cvs file? Because these tables are of different lengths I can not use cbind. When I use following: Test <- c(capture.output(table(test1),capture.output(table(test2)) write.table(Test,”test.csv”,row.names=FALSE,sep=”\t”) I receive messy, u