rstudioapi v0.7

0

Monthly downloads

0th

Percentile

Safely Access the RStudio API

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

Functions in rstudioapi

Name Description
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
No Results!

Vignettes of rstudioapi

Name
dialogs.Rmd
document-manipulation.Rmd
introduction.Rmd
projects.Rmd
r-session.Rmd
terminal.Rmd
No Results!

Last month downloads

Details

License MIT + file LICENSE
URL https://github.com/rstudio/rstudioapi
BugReports https://github.com/rstudio/rstudioapi/issues
RoxygenNote 6.0.1
VignetteBuilder knitr
NeedsCompilation no
Packaged 2017-09-07 17:48:48 UTC; kevin
Repository CRAN
Date/Publication 2017-09-07 21:41:46 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/rstudioapi)](http://www.rdocumentation.org/packages/rstudioapi)