Help with print() function in R Markdown

Hello. I'm using R to make reports. I like to mirror the script in attachments, but I have a problem doing it. When I call the print () function, which prints the code that I have used when taking the script object, which I have created using the readLines () function, it prints it to me but it does not do an automatic line break when the page. Attached problem. Does anyone know how to solve this?

script <- readLines("script.Rmd")

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.