R

Asked • 06/29/19

Prevent row names to be written to file when using write.csv?

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,5How do I prevent first column with row index from being written to the file?

1 Expert Answer

By:

Ama N. answered • 11/10/22

Tutor
0 (0)

R Programmer | Data Scientist | Data Visualization Designer

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.