Forum Discussion
Anonymous
4 years agoNot applicable
Export table to csv using r script adds extra column
Hi I have a simple r script (below) which is exporting a table into csv and saving in a local area. This all works fine, however when the file exports, it adds a blank column at the beginning wit...
- 4 years ago
Update your R script as follows:
write.csv(dataset, file = "G:/xxx/xxx.csv", row.names = FALSE)
Pat
mahoneypat
4 years agoMicrosoft Employee
Update your R script as follows:
write.csv(dataset, file = "G:/xxx/xxx.csv", row.names = FALSE)
Pat