Re: [R] Excluding/removing row and column names on text output files

2008-05-30 Thread Julian Burgos
Hi Steve, You can use write.table: write.table(x, file=/Users/Desktop/Data.txt, sep=,row.names=F,col.names=F) Cheers, Julian Stropharia wrote: Dear R users, I've had no joy finding a solution to this online or in any of my R books. Many thanks in advance for any help you can give. I'm

[R] Excluding/removing row and column names on text output files

2008-05-02 Thread Stropharia
Dear R users, I've had no joy finding a solution to this online or in any of my R books. Many thanks in advance for any help you can give. I'm seeking to output a data frame (or matrix - it doesn't matter which for my purposes) to a .txt file, but omit any row or column names. The data frame

Re: [R] Excluding/removing row and column names on text output files

2008-05-02 Thread Yasir Kaheil
try: write.table(x, file=/Users/Desktop/Data.txt, row.names= FALSE, col.names= FALSE, sep=, append=TRUE) this should do it. If you don't want to append, just turn that opion off. Stropharia wrote: Dear R users, I've had no joy finding a solution to this online or in any of my R books.

Re: [R] Excluding/removing row and column names on text output files

2008-05-02 Thread Bob Flagg
Steve, I think you can use: write.table(x, file = /Users/Desktop/Data.txt, sep = , append=T, row.names = F, col.names = F) I used that for the data PERSHRUB DISTX AGE RODENTSP 166 2100 501 290 914 201 375 1676 341 475 243