Learn R Programming

svIDE (version 0.9-54)

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
# NOT RUN {
getKeywords(1:2)
# }

Run the code above in your browser using DataLab