Skip to content
Prev 200469 / 398503 Next

Writing a data frame in an excel file

On Nov 16, 2009, at 3:13 PM, David Winsemius wrote:

            
Neither one of those methods will deal with the problem that no  
separator is put in the file on the first row before the colnames. To  
keep the names registered with the columns you would need to set  
row.names=F

write.table(yourdataframe, file="dataout.xls", sep="\t",  
row.names=FALSE)