Just say I have a csv file that looks something like this:
name number of cats
Bob 1
Janet 0
Margaret 47
Tim 2
And I load it into R doing this:
cats <- read.csv("cats.csv")
If I then open "cats" in R, I get a numbering like this:
name number of cats
1 Bob 1
2 Janet 0
3 Margaret 47
4 Tim 2
Similarly, if then write the csv the numbering is retained in the file.
write.csv(cats, "cats_with_numbers.csv")
I tried deleting the column, but that didn't work. Any help is appreciated. :)