[R] Rd2dvi

Friedrich Leisch Friedrich.Leisch at ci.tuwien.ac.at
Wed Jun 28 16:49:38 CEST 2000

>>>>> On Wed, 28 Jun 2000 10:23:56 -0400,
>>>>> Paul Gilbert (PG) wrote:

PG> I'm trying to use R CMD Rd2dvi  and I end up at a Latex (I think)
PG> command prompt. What's missing or what am I suppose to do?

PG> Paul Gilbert
PG> _______

PG> paul at breman:/apps/dse-versions/2000.6/dse#R CMD Rd2dvi syskern This is
PG> TeX, Version 3.14159 (Web2C 7.3) (Rd2.tex LaTeX2e <1998/12/01> Babel
PG> <v3.6k> and hyphenation patterns for american, french, german, ngerman,
PG> nohyphenation, loaded. (/usr/share/texmf/tex/latex/base/book.cls
PG> Document Class: book 1999/01/07 v1.4a Standard LaTeX document class
PG> (/usr/share/texmf/tex/latex/base/bk10.clo)) (Rd.sty
PG> (/usr/share/texmf/tex/latex/base/ifthen.sty) ...
PG> (/usr/share/texmf/tex/latex/base/makeidx.sty) Writing index file Rd2.idx

PG> No file Rd2.aux. (/usr/share/texmf/tex/latex/ae/t1aess.fd)
PG> ! Missing $ inserted. <inserted text>                 $ l.12
PG> \Header{00General_Description}{Syskern}
PG> ?
PG> ! Extra }, or forgotten $. <recently read> }
PG> l.12 \Header{00General_Description}{Syskern}
PG> ?

The reason is usually that the Rd files contains some syntax error
which only shows when running LaTeX.

In your case: The underscore is a special character in latex (and
hence Rd), you have to escape it (unless used in \examples{...} or

Hope this helps,
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list