Re: [R] Column of numbers added to dataframe when saving with read.csv

2011-06-15 Thread Paolo Rossi
Sarah, That is correct - thanks a lot for this to everyone who replied Paolo On 15 June 2011 16:03, Sarah Goslee wrote: > You need to add row.names=FALSE to your write.table() statement. > > This and other useful options are documented in the help. And you'll > notice that that first column of

Re: [R] Column of numbers added to dataframe when saving with read.csv

2011-06-15 Thread Ivan Calandra
Hi Paolo, Not sure to understand you well, but try with row.names=FALSE in your call to write.table() HTH, Ivan Le 6/15/2011 16:51, Paolo Rossi a écrit : I have a dataframe object having the following structure FinalOutput[1:3,] GasDays 2011-03-31 2010-09-30 2010-10-31 2010-11-30 20

Re: [R] Column of numbers added to dataframe when saving with read.csv

2011-06-15 Thread ONKELINX, Thierry
; Aan: r-help@r-project.org > Onderwerp: [R] Column of numbers added to dataframe when saving with > read.csv > > I have a dataframe object having the following structure > > FinalOutput[1:3,] > GasDays 2011-03-31 2010-09-30 2010-10-31 2010-11-30 2010-12-31 > 2011-01-31 2011-02-

Re: [R] Column of numbers added to dataframe when saving with read.csv

2011-06-15 Thread Sarah Goslee
You need to add row.names=FALSE to your write.table() statement. This and other useful options are documented in the help. And you'll notice that that first column of row names appears in your R output as well. Sarah On Wed, Jun 15, 2011 at 10:51 AM, Paolo Rossi wrote: > I have a dataframe obje

[R] Column of numbers added to dataframe when saving with read.csv

2011-06-15 Thread Paolo Rossi
I have a dataframe object having the following structure FinalOutput[1:3,] GasDays 2011-03-31 2010-09-30 2010-10-31 2010-11-30 2010-12-31 2011-01-31 2011-02-28 1 2006-10-01 217303553 221205033 222824639 217016511 216093460 216477468 216834021 2 2006-10-02 231158527 234565250 2360041