Commands:
t <- data.frame(v = 5:1, v2 = 9:5)
write.csv(t, "t.csv")
Resulting file:
# "","v","v2"
# "1",5,9
# "2",4,8
# "3",3,7
# "4",2,6
# "5",1,5
How do I prevent first column with row index from being written to the file?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…