title: How can I include an R code chunk within LaTeX code in an rmd file?
body: <p>The following does not work:</p>
  
  <pre><code>\begin{itemize}
  
    \item The first item
    \item 
      ```{r}
      x &lt;- 3
      ```
    \item The third etc \ldots
  
  \end{itemize}
  </code></pre>
  
  <p>Is there a way to do this or must I rewrite the file as an .rnw? </p>
  
  <p>Thanks!</p>