Answers for "how to save a txt file 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.csv(my_data, file = "my_data.csv")
write.csv2(my_data, file = "my_data.csv")
Posted by: Guest on November-26-2020

Browse Popular Code Answers by Language