rstudioapi: Safely Access the RStudio API

Share:

Access the RStudio API (if available) and provide informative error messages when it's not.

Author
Hadley Wickham [aut], JJ Allaire [aut, cre], Kevin Ushey [ctb], RStudio [cph]
Date of publication
2016-06-27 07:00:05
Maintainer
JJ Allaire <jj@rstudio.com>
License
MIT + file LICENSE
Version
0.6

View on CRAN

Man pages

askForPassword
Ask the user for a password interactively
callFun
Call an RStudio API function
document-mutation
Modify the Contents of a Document
document_position
Create a Document Position
document_range
Create a Range
editor-information
Retrieve Information about an RStudio Editor
getActiveProject
Path to Active RStudio Project
getVersion
Return the current version of the RStudio API
hasFun
Exists/get for RStudio functions
isAvailable
Check if RStudio is running.
navigateToFile
Navigate to File
previewRd
Preview an Rd topic in the Help pane
primary_selection
Extract the Primary Selection
sendToConsole
Send Code to the R Console
sourceMarkers
Display Source Markers
versionInfo
RStudio Version Information
viewer
View local web content within RStudio

Files in this package

rstudioapi
rstudioapi/inst
rstudioapi/inst/NEWS
rstudioapi/NAMESPACE
rstudioapi/R
rstudioapi/R/document-api.R
rstudioapi/R/code.R
rstudioapi/R/stubs.R
rstudioapi/R/document-methods.R
rstudioapi/R/misc.R
rstudioapi/MD5
rstudioapi/DESCRIPTION
rstudioapi/man
rstudioapi/man/askForPassword.Rd
rstudioapi/man/primary_selection.Rd
rstudioapi/man/versionInfo.Rd
rstudioapi/man/previewRd.Rd
rstudioapi/man/document_range.Rd
rstudioapi/man/document_position.Rd
rstudioapi/man/getActiveProject.Rd
rstudioapi/man/hasFun.Rd
rstudioapi/man/viewer.Rd
rstudioapi/man/navigateToFile.Rd
rstudioapi/man/callFun.Rd
rstudioapi/man/document-mutation.Rd
rstudioapi/man/sourceMarkers.Rd
rstudioapi/man/sendToConsole.Rd
rstudioapi/man/isAvailable.Rd
rstudioapi/man/getVersion.Rd
rstudioapi/man/editor-information.Rd
rstudioapi/LICENSE