Safely Access the RStudio API


[Up] [Top]

Documentation for package ‘rstudioapi’ version 0.6

Help Pages

as.document_position Create a Document Position
as.document_range Create a Range
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
findFun Exists/get for RStudio functions
getActiveDocumentContext Retrieve Information about an RStudio Editor
getActiveProject Path to Active RStudio Project
getConsoleEditorContext Retrieve Information about an RStudio Editor
getSourceEditorContext Retrieve Information about an RStudio Editor
getVersion Return the current version of the RStudio API
hasFun Exists/get for RStudio functions
insertText Modify the Contents of a Document
is.document_position Create a Document Position
is.document_range Create a Range
isAvailable Check if RStudio is running.
modifyRange Modify the Contents of a Document
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
setCursorPosition Modify the Contents of a Document
setDocumentContents Modify the Contents of a Document
setSelectionRanges Modify the Contents of a Document
sourceMarkers Display Source Markers
verifyAvailable Check if RStudio is running.
versionInfo RStudio Version Information
viewer View local web content within RStudio