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.6)
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.6
License
MIT + file LICENSE
Maintainer
JJ Allaire
Last Published
June 27th, 2016
Functions in rstudioapi (0.6)
Search functions
hasFun
Exists/get for RStudio functions
getActiveProject
Path to Active RStudio Project
callFun
Call an RStudio API function
insertText
Modify the Contents of a Document
askForPassword
Ask the user for a password interactively
document_position
Create a Document Position
isAvailable
Check if RStudio is running.
editor-information
Retrieve Information about an RStudio Editor
getVersion
Return the current version of the RStudio API
document_range
Create a Range
viewer
View local web content within RStudio
primary_selection
Extract the Primary Selection
sendToConsole
Send Code to the R Console
sourceMarkers
Display Source Markers
versionInfo
RStudio Version Information
navigateToFile
Navigate to File
previewRd
Preview an Rd topic in the Help pane