Я предполагаю, что под "новым столбцом" вы подразумеваете имена строк, которые выписываются по умолчанию. Чтобы подавить их, установите row.names = FALSE
при вызове write.table
или write.csv
.
write.table package:utils R Documentation
Data Output
Description:
‘write.table’ prints its required argument ‘x’ (after converting
it to a data frame if it is not one nor a matrix) to a file or
connection.
Usage:
write.table(x, file = "", append = FALSE, quote = TRUE, sep = " ",
eol = "\n", na = "NA", dec = ".", row.names = TRUE,
col.names = TRUE, qmethod = c("escape", "double"))
write.csv(...)
write.csv2(...)
...
row.names: either a logical value indicating whether the row names of
‘x’ are to be written along with ‘x’, or a character vector
of row names to be written.
col.names: either a logical value indicating whether the column names
of ‘x’ are to be written along with ‘x’, or a character
vector of column names to be written. See the section on
‘CSV files’ for the meaning of ‘col.names = NA’.