Section 7 Write Data
7.1 Function
Function | Explanation |
---|---|
write.table |
Write tabular data. It prints its required argument x after converting it to a data frame to a file. |
write.csv |
Write a csv file |
writeLines |
Write text lines to a text file |
7.2 Example
?write.table
write.table(x, file = "", append = FALSE, quote = TRUE, sep = " ",
eol = "\n", na = "NA", dec = ".", row.names = TRUE,
col.names = TRUE, qmethod = c("escape", "double"),
fileEncoding = "")
write.csv(...)