How to save a character vector containing some \n in a .txt file in R?
\n
.txt
char = "Name\nAddress\nAge"
Should I use writeLines?
writeLines
writeLines(char, "filename.txt")