Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (0.17.0) of this package.
Take me there.
rstudioapi (version 0.7)
Safely Access the RStudio API
Description
Access the RStudio API (if available) and provide informative error messages when it's not.
Copy Link
Link to current version
Version
Version
0.17.0
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
Install
install.packages('rstudioapi')
Monthly Downloads
858,973
Version
0.7
License
MIT + file LICENSE
Issues
134
Pull Requests
2
Stars
173
Forks
37
Repository
https://github.com/rstudio/rstudioapi
Maintainer
JJ Allaire
Last Published
September 7th, 2017
Functions in rstudioapi (0.7)
Search all functions
createProjectTemplate
Create a Project Template
document_position
Create a Document Position
hasFun
Exists/get for RStudio functions
isAvailable
Check if RStudio is running.
askForPassword
Ask the user for a password interactively
callFun
Call an RStudio API function
projects
Open a Project in RStudio
readPreference
Read Preference
sendToConsole
Send Code to the R Console
showDialog
Show Dialog Box
document_range
Create a Range
file-dialogs
Select a File / Folder
navigateToFile
Navigate to File
persistent-values
Persistent Keys and Values
getActiveProject
Path to Active RStudio Project
getThemeInfo
Retrieve Themes
restartSession
Restart the R Session
terminalBuffer
Get Terminal Buffer
terminalBusy
Is Terminal Busy
terminalSend
Send Text to a Terminal
terminalVisible
Get Visible Terminal
terminalList
Get All Terminal Ids
viewer
View local web content within RStudio
getVersion
Return the current version of the RStudio API
hasColorConsole
Check if Console Supports ANSI Color Escapes
previewRd
Preview an Rd topic in the Help pane
primary_selection
Extract the Primary Selection
showPrompt
Show Prompt Dialog Box
showQuestion
Show Question Dialog Box
terminalExitCode
Terminal Exit Code
terminalKill
Kill Terminal
terminalRunning
Is Terminal Running
sourceMarkers
Display Source Markers
terminalActivate
Activate Terminal
terminalClear
Clear Terminal Buffer
terminalContext
Retrieve Information about RStudio Terminals
updateDialog
Updates a Dialog Box
versionInfo
RStudio Version Information
rstudio-documents
Interact with Documents open in RStudio
rstudio-editors
Retrieve Information about an RStudio Editor
savePlotAsImage
Save Active RStudio Plot as an Image
terminalCreate
Create a Terminal
terminalExecute
Execute Command
writePreference
Write Preference