| RdUtils | R Documentation |
Utilities for converting files in R documentation (Rd) format to otherformats or create indices from them, and for converting documentationin other formats to Rd format.
R CMD Rdconv [options] fileR CMD Rd2pdf [options] files
file | the path to a file to be processed. |
files | a list of file names specifying the R documentationsources to use, by either giving the paths to the files, or the pathto a directory with the sources of a package. |
options | further options to control the processing, or forobtaining information about usage and version of the utility. |
R CMD Rdconv converts Rd format to plain text, HTML or LaTeXformats: it can also extract the examples.
R CMD Rd2pdf is the user-level program for producing PDF outputfrom Rd sources. It will make use of the environment variablesR_PAPERSIZE (set byR CMD, with a default set whenRwas installed: values forR_PAPERSIZE area4,letter,legal andexecutive)andR_PDFVIEWER (the PDF previewer). Also,RD2PDF_INPUTENC can be set toinputenx to make use of theLaTeX package of that name rather thaninputenc: this might beneeded for better support of the UTF-8 encoding.
R CMD Rd2pdf callstools::texi2pdf to produceits PDF file: see its help for the possibilities for thetexi2dvi command which that function uses (and which can beoverridden by setting environment variableR_TEXI2DVICMD).
UseR CMDfoo --help to obtain usage information on utilityfoo.
The chapter ‘Processing Rd format’ in the‘Writing R Extensions’ manual.
Add the following code to your website.
For more information on customizing the embed code, readEmbedding Snippets.
