Re: [Rd] Writing R documentation

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Tue 22 Mar 2005 - 07:39:14 GMT

Suzette Blanchard wrote:

> Greetings,
>
> I used latex type code in my Rd files.
>
> The pdf version using
> R CMD Rd2dvi --output=PKtools.pdf --pdf --title="PKtools" PKtools man
> came out quite nice.
>
> However, my current HTML version does not tex the latex so there is
> latex code in the files and looks bad.

Sorry, I don't understand "HTML version does not tex the latex"?

>
> example problem code:
>
> AIC$_c$
>
> or
>
> \begin{itemize}
> \item NLME:
> \begin{itemize}
> \item population level: identify(MM\$mm\$fitted[,1], MM\$pkdata\$conc)
> \item individual level: identify(MM\$mm\$fitted[,2], MM\$pkdata\$conc)
> \end{itemize}
> \item NONMEM:
> \begin{itemize}
> \item population level: identify(NM\$pred\$PRED, NM\$pred\$CONC)
> \item individual level: identify(NM\$pred\$IPRE, NM\$pred\$CONC)
> \end{itemize}
> \item WinBUGS:
> \begin{itemize}
> \item population level: identify(WB\$pred\$ppred, WB\$pred\$conc)
> \item individual level: identify(WB\$pred\$ipred, WB\$pred\$conc)
> \end{itemize}
>
> Is there a way to fix this?

.Rd is not .tex.

Please read the manual "Writing R Extensions". You cannot use mathematical environments that way. There are \eqn{} environments, if you really need it.

Uwe Ligges

> I tried Rdconv using --type=HTML but that did not work.
 >
> Any help you can send would be appreciated.
>
> Thank you,
> Suzette
>
> =================================
> Suzette Blanchard, Ph.D.
> UCSD-PPRU
>
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue Mar 22 18:40:45 2005

This archive was generated by hypermail 2.1.8 : Mon 24 Oct 2005 - 22:26:31 GMT