R knit to PDF - how to wrap long lines

Hi, check this out:

https://github.com/yihui/knitr-examples/blob/master/077-wrap-output.Rmd

Modifying that function seemed to work for me.

3 Likes