Number lines on code blocks created by chunks, i.e. source, output, message, warning, and/or error.
hook_numberLines(targets = "source", .set = TRUE)
targets | A character vector specifying what kind of code blocks
automatically number lines (default: |
---|---|
.set |
|
invisible hook function
hook_numberLines("source")