title: In R markdown in RStudio, how can I prevent the source code from running off a pdf page?
body: <p>I currently have some code that looks like so:</p>
  
  <pre><code>```{r, tidy=TRUE}
  plot(DT$age, DT$height, xlab = "Age of participant in Trials", ylab = "Height of participant in       Trials")
  ```
  </code></pre>
  
  <p>Now, it was my understanding that setting <code>tidy</code> to <code>TRUE</code> would make it so that when I knit the code together, the code would not go running off the page and would wrap by itself. However, I sporadically still get run off source code displays when I do commands like the one above. Is there another function that would guarantee the wrapping of code? Thanks!</p>