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
Reading the helpfile (as the posting guide asks you to do) of write.table will solve your problem. > -Oorspronkelijk bericht- > Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > Namens Paolo Rossi > Verzonden: woensdag 15 juni 2011 16:52 > Aan: r-help@r-project.org

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