Question : newline with print r
Answered by : trustworthy-whale
# print does not uses newlines, so you should switch to cat or writeLines
> cat("hello\nworld\n")
hello
world
Source : https://stackoverflow.com/questions/9317830/r-do-i-need-to-add-explicit-new-line-character-with-print | Last Update : Fri, 05 Aug 22