九种mark-up languages that can be used to Sweave together data, code, and results: * LaTeX: The Sweave utility in base R provides a method for creating LaTeX files wich can then be converted to PDF files. * HTML: The R2HTML, HTMLutils, hwriter, prettyR, and Hmisc packages provide methods for outputting R code and output to HTML pages. * asciiDoc: The ascii package provides methods for creating asciiDoc files which can then be converted to HTML, XML, or LaTeX files. See examples here. * t2tags: The ascii package provides methods for creating t2tags files which can then be converted to HTML, XML, or LaTeX files. See examples here. * reStructuredText: The ascii package provides methods for creating reStructuredText files which can then be converted to HTML, XML, or LaTeX files. See examples here. * org: The ascii package provides methods for creating org files which can then be converted to HTML, XML, or LaTeX files. See examples here. * textile: The ascii package provides methods for creating textile files which can then be converted to HTML, XML, or LaTeX files. See examples here. * OpenOffice: The odfWeave package provides methods for creating files in the open document format (odf) which can then be opened in OpenOffice. These files can then be output to a vareity of formats. * MSWord: The R2WD package provides a markup language for creating MSWord documents from within R. The SWord software provides the ability to use Sweave-like markup to create MSWord documents. Inference for R is proprietary software that allows the user to embed R code and output into a Microsoft Word document. 这里的部分内容转自网络