[R] saving a data.frame to "\t" files

Douglas Bates bates at stat.wisc.edu
Thu Mar 11 18:58:00 CET 2004


"Mihai Nica" <m_nica at hotmail.com> writes:

> Windows 2000, updated R and packages.
> 
> could somebody pleaseeeeeeeee help with saving a data.frame with
> column names into "\t" text files for later importing in other
> programs? It seems an easy task, yet... it beats me.

See

?write.table

You want to use something like

write.table(myDataFrame, file = "myTabSeparatedFile.txt", sep = "\t")




More information about the R-help mailing list