Re: [R] Output data frame using write.table

2011-07-05 Thread jim holtman
Use 'write.csv' and then use EXCEL as the way of formatting the output in the way that you like it. Otherwise you want use 'sprintf' to specify how you want the formatting done. On Tue, Jul 5, 2011 at 1:17 PM, Bansal, Vikas wrote: > Dear all, > > I have a data frame whose name is m1. > I want to

Re: [R] Output data frame using write.table

2011-07-05 Thread Steve Lianoglou
Hi, On Tue, Jul 5, 2011 at 1:17 PM, Bansal, Vikas wrote: > Dear all, > > 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

Re: [R] Output data frame using write.table

2011-07-05 Thread David Winsemius
On Jul 5, 2011, at 1:17 PM, Bansal, Vikas wrote: Dear all, 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