Learn R Programming

askgpt (version 0.1.3)

document_code: Document R Code

Description

Document R Code

Usage

document_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.

Examples

Run this code
if (FALSE) {
document_code()
}

Run the code above in your browser using DataLab