Skip to contents

Detects a selected word in an open document. This was written for Rmarkdown writing, but it can be used for an open document. Using the addin is the most preferred means to call this function, albeit it can be called directly from the console.

Usage

defineSelected()

Value

definition of the selected text

Examples

if (FALSE) {
defineSelected()
}