Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

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...
  • mahoneypat's avatar
    4 years ago

    Update your R script as follows:

     

    write.csv(dataset, file = "G:/xxx/xxx.csv", row.names = FALSE)

     

    Pat