[R] The TeX-source for the package manual.

Rolf Turner r.turner at auckland.ac.nz
Tue Jan 12 20:10:57 CET 2010


On 13/01/2010, at 3:40 AM, BXC (Bendix Carstensen) wrote:

> I have noted that the later versions of Rcmd check cleans out the  
> directory pkg.Rcheck so that only package-manual.log and package- 
> manual.pdf are left.
> Formerly the package-manual.tex was around too --- very handy for  
> various purposes.
>
> Is there a way to generate the .tex - version of the manual for a  
> package?

On unix-alike systems one can do

	R CMD Rd2dvi --no-clean <package name>

and then look in a (hidden) directory .Rd2dvi<nnn> where ``<nnn>''
represents a 3 digit number.

You get a message saying

	" You may want to clean up by 'rm -rf .Rd2dvi<nnn>' "

which tells you the value of ``<nnn>''.  The tex file you want
is called Rd2.tex.

There is probably a similar incantation that works under Windoze.

	cheers,

		Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}



More information about the R-help mailing list