"Yeni sütun" ile, varsayılan olarak yazılan satır adlarını kastediyorsunuz. Bunları bastırmak için write.table
veya write.csv
numaralı telefonu arayarak row.names = FALSE
'u ayarlayın.
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’.
+1 yardım dosyalarının kopyalanmaması için –
Bu konuda kaba olmanıza gerek yok - örn. Dokümanları kontrol ettim, ancak write.matrix için böyle bir seçenek yok –