Perfect, thanks very much! On Wed, Jan 6, 2010 at 10:44 AM, Gabor Grothendieck <ggrothendi...@gmail.com > wrote:
> Try this: > > cat("\n", file = "tables.csv", append = TRUE) > > > On Wed, Jan 6, 2010 at 11:36 AM, Krishna Tateneni <taten...@gmail.com> > wrote: > > Greetings and happy new year! > > > > I'm attempting to write a series of tables to a CSV file, and would like > to > > insert a blank line after each table. To do this, I use: > >> write.csv(NULL,"tables.csv",append=T) > > which appears to work, except that this warning is thrown: > >> Warning message: > >> In write.table(NULL, "tables.csv", append = T, col.names = NA, : > >> appending column names to file > > I tried col.names=F in the write.csv call, but the argument is ignored, > > presumably because NULL does not have col.names. > > > > Is there a better way to insert the blank lines? Many thanks for > > enlightening me! > > > > --Krishna > [[alternative HTML version deleted]] ______________________________________________ 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.