Description Requirements Usage Author(s) References
A set of R functions to output Rich Text Format (RTF) files with high resolution tables and graphics that may be edited with a standard word processor such as Microsoft Word. This is useful for compiling R results into a document for further editing or to be merged with another document.
While Sweave and odfWeave provide nicely formatted outputs, the syntax can be difficult for beginners to master. Moreover, Sweave compilation to a PDF is not editable. Other packages such as SWord and R2wd provide similar functionality but require the user to be running a Microsoft Windows OS.
This package is written in pure R and does not require leaving the R environment to write files. R data frames and table objects are converted to nicely formatted RTF tables. One important limitation of the RTF specification is that vector graphics output is limited to Windows Meta File (WMF) and Enhanced Meta File (EMF) formats. Because these formats are not supported across platforms, this package currently only supports RTF embedding of PNG plots and images. To ensure high quality reports, the resolution may be specified when writing the RTF output.
This package depends on the R.oo package.
For usage details RTF
.
Michael E. Schaffer
[1] http://en.wikipedia.org/wiki/Rich_Text_Format
[2] http://latex2rtf.sourceforge.net/rtfspec_7.html#rtfspec_paraforprop
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.