[R] Intermediate LaTeX output generated by R CMD Rd2dvi

Jonathan Myles jonm at weber
Thu Jun 22 12:32:45 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.

THank you, that does just what I want.  Presumably using the output in one's own
documents is OK?

Jonathan




-- 
Dr. Jonathan Myles         e-mail:jonathan.myles at mrc-bsu.cam.ac.uk
MRC Biostatistics Unit     Tel. 01223 330372
Institute of Public Health FAX  01223 330388
University Forvie Site
Robinson Way
CAMBRIDGE
CB2 2SR                   


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