[R] Remove serial number column in a Dataframe into CSV

Rantony antony.akkara at ge.com
Thu Sep 13 09:47:48 CEST 2012


Hi,

i have an small doubt.
How can we remove serial-number column while writing a dataframe in to a csv
file ?

for eg:-
write.csv(MyDataFrame,"c:/MyData.csv")

      name         place
    -----------      -----------
1     antony    uk
2     john           usa
3     arjun         ind


here, in the csv file, serial number column is coming extra on the left-end
side.
i want to remove that . How it is possible, while writing into a csv file  ?

- Thanks in advance
Antony



--
View this message in context: http://r.789695.n4.nabble.com/Remove-serial-number-column-in-a-Dataframe-into-CSV-tp4642987.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list