Answers for "R how to generate a text file"

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