[R] saving a data.frame to "\t" files
Philipp Pagel
p.pagel at gsf.de
Thu Mar 11 19:16:27 CET 2004
> 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.
write.table(mydf, file="foo.tbl", sep="\t", col.names=T)
Where mydf is your data frame.
If you don't want quoting you can also add 'quote=FALSE'
cu
Philipp
--
Dr. Philipp Pagel Tel. +49-89-3187-3675
Institute for Bioinformatics / MIPS Fax. +49-89-3187-3585
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1
85764 Neuherberg, Germany
http://mips.gsf.de/~pagel
More information about the R-help
mailing list