Learn R Programming

askgpt (version 0.1.3)

annotate_code: Annotate R code with inline comments

Description

Annotate R code with inline comments

Usage

annotate_code(code, ...)

Value

A character vector.

Arguments

code

A character vector of R code. If missing the code currently selected in RStudio is documented (If RStudio is used).

...

passed on to askgpt.