[R] Intermediate LaTeX output generated by R CMD Rd2dvi

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Jun 22 11:33:33 CEST 2000


> Date: Thu, 22 Jun 2000 10:44:03 +0200
> From: Uwe Ligges <ligges at statistik.uni-dortmund.de>
> X-Accept-Language: de-DE,en
> To: jonathan.myles at mrc-bsu.cam.ac.uk
> CC: r-help <r-help at stat.math.ethz.ch>
> Subject: Re: [R] Intermediate LaTeX output generated by R CMD Rd2dvi
> 
> Jonathan Myles wrote:
> > 
> >  Is there any way of getting just the LaTex output which
> > 
> >  R CMD Rd2dvi
> > 
> >   generates on the way to produces a .dvi file,
> >   which could then be incoorporated into another
> >   document?
> 
> 
> Try  
>   R CMD Rdconv --type=latex
> 

That's not the quite the same (although it may be what Jonathan wants).
Rd2dvi writes a wrapper. If you use R CMD Rd2dvi --no-clean [files]
you will find the latex file used:

toucan% R CMD Rd2dvi --no-clean --no-preview *.Rd
...
You may want to clean up by `rm -rf .Rd2dvi29549'
toucan% ls .Rd2dvi29549
.Rd2dvi29549:
Rd.sty   Rd2.aux  Rd2.dvi  Rd2.idx  Rd2.ilg  Rd2.ind  Rd2.log  Rd2.tex 

and Rd2.tex is the file asked for.

Whichever route you take, you will need Rd.sty, from R_HOME/doc/manual.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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