[Rd] Writing R documentation
Uwe Ligges
ligges at statistik.uni-dortmund.de
Tue Mar 22 08:39:14 CET 2005
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 at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
More information about the R-devel
mailing list