[R] Printing the Manual from the Debian Package Contents

Martyn Plummer plummer at iarc.fr
Mon May 10 18:56:43 CEST 1999


On 10-May-99 Hubert Palme wrote:
> Hi,
> 
> I've installed the Debian (slink) package r-base 0.63.3-1. There are
> lots of *.tex files in /usr/lib/R describing all the functions and
> packages. There must be a canonical way to collect those files and
> print a manual with LaTeX. Can anyone help me? (Debian package
> maintainers?)
> 

This can be done automatically from the source,  but with a binary
package of R (or if you have deleted the source) it looks like you
have to do it by hand.  The following procedure works for R 0.64.1.

If you look in $RHOME/doc/manual - assuming you have this - you will find
the relevant LaTeX files.  Copy these files to another directory where
you have write access and do something like this:

export RHOME=`R RHOME`
for pkg in base eda mva lqs modreg stepfun; do
   cat ${RHOME}/library/${pkg}/latex/*.tex > pkg-${pkg}.tex
done
latex Reference.tex
latex Reference.tex

Latex will complain about a missing Version.tex file.  Strictly speaking
(and we do like to speak strictly here) this is the "R Reference
Index". The "R Manual" is created with "latex Manual.tex". Again, the
file Version.tex is missing.

I hope this helps.
Martyn
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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