write variable to text file r code example
Example: r write to txt
fileConn<-file("output.txt")
writeLines(c("Hello","World"), fileConn)
close(fileConn)
fileConn<-file("output.txt")
writeLines(c("Hello","World"), fileConn)
close(fileConn)