Learn R Programming

hera (version 0.1.1)

complete: Code completion

Description

Code completion

Usage

complete(code, cursor_pos = nchar(code))

Value

a list that contains potential completions as the first item

Arguments

code

R code to complete

cursor_pos

position of the cursor

Examples

Run this code
complete("rnorm(")

Run the code above in your browser using DataLab