[R] Output data frame using write.table
dwinsemius at comcast.net
Tue Jul 5 19:37:29 CEST 2011
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 =
> When I am opening my kas.txt file,the column names are not coming
> exactly above the column.
The 'write' functions do not add spacing for alignment. Use print()
David Winsemius, MD
West Hartford, CT
More information about the R-help