title: mini page for code in latex
body: <p>I would like to add my result from R code inside the latex. I understand that can be done easily using <code>lstlisting</code> package. However, I tried to make the code as two parts (side by side). I tried to use minipage with <code>lstlisting</code> but it does not work. Is there any easy way to have a mini-page with my code or the result of my work instead of doing that manually. </p>