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

document_position

Create a Document Position


Description

Creates a document_position, which can be used to indicate e.g. the row + column location of the cursor in a document.

Usage

document_position(row, column)

is.document_position(x)

as.document_position(x)

Arguments

row

The row (using 1-based indexing).

column

The column (using 1-based indexing).

x

An object coercable to document_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.