[R] exporting data to csv file -problem with column names

2009-06-01 Thread Steven Matthew Anderson
I have a data.frame with three columns + the row number Sample MidPoint Count [1,] 10.025 1 [2,] 10.075 3 [3,] 10.12515 [4,] 10.17512 [5,] 10.225 5 [6,] 10.275 8 When I export the data to a

Re: [R] exporting data to csv file -problem with column names

2009-06-01 Thread Gabor Grothendieck
See exampe 6c here: http://code.google.com/p/sqldf/#Example_6._File_Input On Mon, Jun 1, 2009 at 3:19 AM, Steven Matthew Anderson adastr...@mac.com wrote: I have a data.frame with three columns + the row number        Sample MidPoint Count   [1,]      1    0.025     1   [2,]      1    0.075  

Re: [R] exporting data to csv file -problem with column names

2009-06-01 Thread David Winsemius
On Jun 1, 2009, at 3:19 AM, Steven Matthew Anderson wrote: I have a data.frame with three columns + the row number Sample MidPoint Count [1,] 10.025 1 [2,] 10.075 3 [3,] 10.12515 [4,] 10.17512 [5,] 10.225 5

Re: [R] exporting data to csv file -problem with column names

2009-06-01 Thread Adrian Dusa
Steven Matthew Anderson adastra69 at mac.com writes: [...] Is there a way to exclude the row numbers from the exported csv file? Or add a column name for row number to keep this from happening? Steven, see the row.names argument in write.table(), set it to FALSE. Adrian