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")
print(script)