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.8)
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.8
License
MIT + file LICENSE
Issues
131
Pull Requests
3
Stars
164
Forks
33
Repository
https://github.com/rstudio/rstudioapi
Maintainer
JJ Allaire
Last Published
October 2nd, 2018
Functions in rstudioapi (0.8)
Search functions
build-tools
Build Tools
askForSecret
Show Prompt for Secret Dialog
rstudio-documents
Interact with Documents open in RStudio
hasFun
Exists/get for RStudio functions
rstudio-editors
Retrieve Information about an RStudio Editor
isAvailable
Check if RStudio is running.
savePlotAsImage
Save Active RStudio Plot as an Image
showDialog
Show Dialog Box
showPrompt
Show Prompt Dialog Box
sendToConsole
Send Code to the R Console
showQuestion
Show Question Dialog Box
terminalVisible
Get Visible Terminal
updateDialog
Updates a Dialog Box
getVersion
Return the current version of the RStudio API
sourceMarkers
Display Source Markers
addTheme
Add a Custom Editor Theme
navigateToFile
Navigate to File
applyTheme
Apply an Editor Theme to RStudio
hasColorConsole
Check if Console Supports ANSI Color Escapes
convertTheme
Convert a tmTheme to an RStudio Theme
createProjectTemplate
Create a Project Template
persistent-values
Persistent Keys and Values
readPreference
Read Preference
primary_selection
Extract the Primary Selection
restartSession
Restart the R Session
projects
Open a Project in RStudio
terminalBusy
Is Terminal Busy
writePreference
Write Preference
viewer
View local web content within RStudio
getThemeInfo
Retrieve Themes
terminalClear
Clear Terminal Buffer
versionInfo
RStudio Version Information
document_position
Create a Document Position
terminalContext
Retrieve Information about RStudio Terminals
getThemes
Get Theme List
terminalRunning
Is Terminal Running
terminalSend
Send Text to a Terminal
terminalCreate
Create a Terminal
terminalExecute
Execute Command
document_range
Create a Range
terminalExitCode
Terminal Exit Code
file-dialogs
Select a File / Folder
getActiveProject
Path to Active RStudio Project
previewRd
Preview an Rd topic in the Help pane
terminalActivate
Activate Terminal
previewSql
Preview SQL statement
terminalBuffer
Get Terminal Buffer
terminalKill
Kill Terminal
terminalList
Get All Terminal Ids
askForPassword
Ask the user for a password interactively
callFun
Call an RStudio API function