[R] Output data frame using write.table
vikas.bansal at kcl.ac.uk
Tue Jul 5 19:17:27 CEST 2011
I have a data frame whose name is m1.
I want to write this data frame in text file as output.I am using this code-
write.table(m1, file = "kas.txt", append = FALSE,row.names=F,quote=F,sep="\t")
When I am opening my kas.txt file,the column names are not coming exactly above the column.
What should I do.Please help me.
Kings College London
More information about the R-help