[R] Rd files, \itemize in \value

Gábor Csárdi csardi at rmki.kfki.hu
Fri Oct 2 15:05:09 CEST 2009


Dear All,

how can I create a list in the \value{} section of an Rd file? The
things I have tried:

1.

\value{
text text
\item more text
\item even more
}

******* Syntax error: \item in
/-----
\item more text
\item even more\-----

2.

\value{
text text
\item{more text}
\item{even more}
}

This gives no error or warning, but the manual page looks as
--------------------
Value:
     text text

more text: Numeric scalar giving the minimum correlation for
          convergence.

even more: Numeric scalar giving the minimum correlation for
          convergence.
--------------------

The "Numeric..." text is coming from the last \item{} in arguments{}...

3.

\value{
text text
\itemize{
\item{more text}
\item{even more}
}
}

Gives the same result as 2, but with a warning....

Is there a proper way?

Thanks,
Gabor

-- 
Gabor Csardi <Gabor.Csardi at unil.ch>     UNIL DGM




More information about the R-help mailing list