RDocumentation
Moon
Learn R
Search all packages and functions
⚠️
There's a newer version (0.16.0) of this package.
Take me there.
rstudioapi (version 0.4.0)
Safely Access the RStudio API
Description
Access the RStudio API (if available) and provide informative error messages when it's not.
Copy Link
Copy
Link to current version
Version
Version
0.16.0
0.15.0
0.14
0.13
0.12
0.11
0.10
0.9.0
0.8
0.7
0.6
0.5
0.4.0
0.3.1
0.2
0.1
Down Chevron
Install
install.packages('rstudioapi')
Monthly Downloads
603,864
Version
0.4.0
License
MIT + file LICENSE
Maintainer
JJ Allaire
Last Published
December 9th, 2015
Functions in rstudioapi (0.4.0)
Search functions
getVersion
Return the current version of the RStudio API
callFun
Call an RStudio API function
sourceMarkers
hasFun
Exists/get for RStudio functions
getActiveDocumentContext
Get the Active Document Context
isAvailable
Check if RStudio is running.
navigateToFile
viewer
versionInfo
document_position
Create a Document Position
document_range
Create a Range
insertText
Modify the Contents of a Document
previewRd