Section 10 Write Data

10.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

10.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(...)