Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

document_range

Create a Range


Description

A document_range is a pair of document_position objects, with each position indicating the start and end of the range, respectively.

Usage

document_range(start, end = NULL)

is.document_range(x)

as.document_range(x)

Arguments

start

A document_position indicating the start of the range.

end

A document_position indicating the end of the range.

x

An object coercable to document_range.

Value

An list with class document_range and fields:

start: The start position.
end: The end position.

rstudioapi

Safely Access the RStudio API

v0.13
MIT + file LICENSE
Authors
Kevin Ushey [aut, cre], JJ Allaire [aut], Hadley Wickham [aut], Gary Ritchie [aut], RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.