previewRd: Preview an Rd topic in the Help pane

Description Usage Arguments Note Examples

View source: R/stubs.R

Description

Preview an Rd topic in the Help pane

Usage

1
previewRd(rdFile)

Arguments

rdFile

Single element character vector containing the name of the Rd file to be displayed

Note

The previewRd function was added in version 0.98.191 of RStudio.

Examples

1
2
3
4
## Not run: 
rstudioapi::previewRd("~/MyPackage/man/foo.Rd")

## End(Not run)

rstudio/rstudioapi documentation built on Feb. 16, 2019, 5:42 a.m.