Learn R Programming

rtf R Package

An R package to produce RTF documents.

Installation

From CRAN:

install.packages("rtf")

or from github:

library(devtools)
install_github("schaffman5/rtf")

Usage

See the vignette for usage details: https://cran.r-project.org/web/packages/rtf/index.html

vignette("rtf")

Copy Link

Version

Install

install.packages('rtf')

Monthly Downloads

2,150

Version

0.4-15

License

GPL (>= 2)

Maintainer

Kyun-Seop Bae

Last Published

July 12th, 2026

Functions in rtf (0.4-15)

startParagraph.RTF

Start a new paragraph in the RTF document
view.RTF

View encoded RTF
addTable.RTF

Insert a table into the RTF document
addTrellisObject.RTF

Insert a trellis plot object into the RTF document
addText.RTF

Insert text into the RTF document
decreaseIndent.RTF

Decrease RTF document indent
addSessionInfo.RTF

Insert session information into the RTF document
addHeader.RTF

Insert a header into the RTF document
rtf.forest.plot

Get an RTF encoded forest plot
endParagraph.RTF

End a paragraph in the RTF document
done.RTF

Write and close the RTF output
Non-documented objects

Non-documented objects
RTF

The RTF class
addNewLine.RTF

Insert a new line into the RTF document
addParagraph.RTF

Insert a paragraph into the RTF document
addPageBreak.RTF

Insert a page break into the RTF document optionally specifying new page settings
addPng.RTF

Insert an existing PNG image into the RTF document
addPlot.RTF

Insert a plot into the RTF document
addTOC.RTF

Insert table of contents field
increaseIndent.RTF

Increase RTF document indent
rtf-package

Package rtf
setFontSize.RTF

Set RTF document font size