Learn R Programming

languageserver (version 0.3.0)

document_line: get the contents of a line

Description

If the line number is higher than the number of lines in the document, an empty character is returned.

Usage

document_line(document, lineno)

Arguments

document

a character, the contents of the document

lineno

a numeric, the line number

Value

a character