My favorite way to achieve this (since I frequently need to share data frames processed in R with non-R users and it is convenient for them to just double click and have it open nicely in Excel) is:
write.table(x,"filename.txt",sep="",row.names=FALSE)
As mentioned above the sep=""
argument tab delimits your file, but I think it is also useful to remove the row names unless needed.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…