R CMD Rdconv [options] file
R CMD Rd2pdf [options] files
R CMD Rdconv
converts Rd format to plain text, HTML or LaTeX
formats: it can also extract the examples. R CMD Rd2pdf
is the user-level program for producing PDF output
from Rd sources. It will make use of the environment variables
R_PAPERSIZE
(set by R CMD
, with a default set when R
was installed: values for R_PAPERSIZE
are a4
,
letter
, legal
and executive
)
R_PAPERSIZE
(default a4
, also legal
and
executive
)
and R_PDFVIEWER
(the PDF previewer). Also,
RD2PDF_INPUTENC
can be set to inputenx
to make use of the
LaTeX package of that name rather than inputenc
: this might be
needed for better support of the UTF-8 encoding. R CMD Rd2pdf
calls tools::texi2pdf
to produce
its PDF file: see its help for the possibilities for the
texi2dvi
command which that function uses (and which can be
overridden by setting environment variable R_TEXI2DVICMD
). Use R CMD foo --help
to obtain usage information on utility
foo
.