[R] Rd file--latex {array} help

From: William H. Asquith <wasquith_at_austin.rr.com>
Date: Sat 14 Jan 2006 - 14:19:30 EST


I am trying to build the notation for combination as the function
\code{choose} in a *.Rd file; but it is not working.
To reduce to essence

\deqn{ \left( \begin{array}{c}

            r-1   \\
            n
         \end{array} \right)
      }

I have double checked the latex logic (without \deqn{}) in LaTexIT on MacOSX so it seems fine.
I've read the R-ext.pdf and down some searching in the archives--stumped.

R CMD Rd2dvi --pdf

renders something like this

( r-1\n )

Advice?
Thanks.

Wil



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jan 14 14:27:24 2006

This archive was generated by hypermail 2.1.8 : Sat 14 Jan 2006 - 17:59:50 EST