Learn R Programming

SciViews (version 0.8-8)

getKeywords: get all keywords for syntax highlighting

Description

Get all visible keywords in one or several environment, excluding operators and reserved keywords.

Usage

getKeywords(pos = 2:length(search()))

Arguments

pos
A vector of integers with all positions in the search path where to look at

Value

  • A vector of character strings with keywords.

See Also

getFunctions, createSyntaxFile

Examples

Run this code
getKeywords(1:2)

Run the code above in your browser using DataLab