Learn R Programming

⚠️There's a newer version (0.17.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

Version

Install

install.packages('rstudioapi')

Monthly Downloads

626,895

Version

0.6

License

MIT + file LICENSE

Maintainer

JJ Allaire

Last Published

June 27th, 2016

Functions in rstudioapi (0.6)

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