Learn R Programming

R2wd (version 1.4)

wdInsertBookmark: Insert a Bookmark.

Description

Inserts a Bookmark at the current selection.

Usage

wdInsertBookmark(text, wdapp = .R2wd)

Arguments

text
the bookmark text.
wdapp
the handle to the Word Application (usually not needed).

Value

    Examples

    Run this code
    wdGet()
    wdTitle("R2wd a package for writing Word documents from R")
    wdInsertBookmark("here")
    wdBody("This package allows ...")
    wdSection("General")
    wdGoToBookmark("here")

    Run the code above in your browser using DataLab