How to output string data on separate lines on Rmarkdown document
I am using a dataframe (called "Survey") from survey data in which the final question is an open comment box. Hence, my final vector in the dataframe consists of string data. I am attempting to create a report in R Markdown in which each comment (each row of that string vector) appears on a separate line in the outpout. My first attempt was to simply insert the variable name into a line of r code within my markdown window, as such:
writeLines(c("Line1", "Line2", "Line3"))
#Line1
#Line2
#Line3