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

Version

Install

install.packages('rstudioapi')

Monthly Downloads

858,973

Version

0.7

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

JJ Allaire

Last Published

September 7th, 2017

Functions in rstudioapi (0.7)

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