r - How to avoid extra column when writing a csv file? -


# saving work ... data_full.csv write.csv(data.full, "data_full.csv", col.names = true)  #importing file data.dir <- file.choose() data <- read.csv(data.dir, header = true) 

data.full written as

enter image description here

but data got read as

enter image description here

can suggest me solution, on how solve simple problem?

in write.csv statement use option row.names=false suppress first column - on default.


Comments

Popular posts from this blog

php - Cannot override Laravel Spark authentication with own implementation -

What is happening when Matlab is starting a "parallel pool"? -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -