Re: [R] knitr - Highlight code/output

2014-05-04 Thread Stephen Sentoff
Adding a line like options(width=60) should make the R output narrower, so that it will fit into the highlighted frame. If you don't want to see this line, you can put it into a separate chunk that isn't echoed. -- Steve Sentoff shsent...@comcast.net

[R] knitr - Highlight code/output

2014-05-03 Thread Axel Urbiz
Hello, I find situations where some segments of the code are displayed in the output but not entirely highlighted. I guess there should be a way to fix this, but I could't find it in the options. Here's an example with knitr/LaTex. \documentclass{article} \begin{document} \section{Example 1}