I am trying to print a long code, highlighted with R syntax, at the end of my thesis, written in R markdown. I am knitting to pdf. I receive the error: ! Dimension too large
.
I am copy pasting my code into the document:
```R
Pasted code
```
I was wondering if there is a way to avoid the error when printing my code in R markdown.