[R] Off-Topic: LaTeX package listings

Kjetil Brinchmann Halvorsen kjetil at acelerate.com
Mon Oct 4 04:26:21 CEST 2004


Hola!

I ask here since I learnt from this list that the LaTeX package listings 
should be good
for typesetting R code. I encountered one problem:
\begin{lstlisting}
      X %*% V
\end{lstlisting}

in the output the * in %*% disappears! same with %/%, etc, the /
disappears.

Any ideas?

Kjetil

-- 

Kjetil Halvorsen.

Peace is the most effective weapon of mass construction.
               --  Mahdi Elmandjra




More information about the R-help mailing list