rstudioapi (version 0.10)

previewRd: Preview an Rd topic in the Help pane

Description

Preview an Rd topic in the Help pane

Usage

previewRd(rdFile)

Arguments

rdFile

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

Examples

Run this code
# NOT RUN {
rstudioapi::previewRd("~/MyPackage/man/foo.Rd")
# }

Run the code above in your browser using DataCamp Workspace