Answers for "save as txt in R"

0

r write to txt

fileConn<-file("output.txt")
writeLines(c("Hello","World"), fileConn)
close(fileConn)
Posted by: Guest on July-30-2020
0

write text r

write.table(x, file, append = FALSE, sep = " ", dec = ".",
            row.names = TRUE, col.names = TRUE)
Posted by: Guest on November-26-2020

Browse Popular Code Answers by Language