rstudioapi::launcherResourceLimit()
now properly delegates the type and memory arguments. (#164)
rstudioapi
gains the function highlightUi()
, used to highlight UI elements in newer versions of RStudio.
Paths returned from selectFile()
are now properly marked with UTF-8 encoding.
It is now possible for rstudioapi
to communicate with a parent RStudio session, for R sessions launched as RStudio jobs. Use rstudioapi::isAvailable(child_ok = TRUE)
to assert that it’s okay to check that rstudioapi
is available and is running within an RStudio job.
Added bugReport()
, a helper function for reporting RStudio bugs on the GitHub issue tracker with an issue template pre-populated with some helpful diagnostic information.
Added userIdentity
and systemUsername
, used to retrieve information about the current user.
echo
and focus
to sendToConsole()
.Added functions for displaying jobs in RStudio’s Jobs pane: jobAdd()
, jobRemove()
, etc.
Added translateLocalUrl()
, for translating localhost URLs to externally addressable ones on RStudio Server.
Added functions for installing + using build tools: buildToolsCheck()
, buildToolsInstall()
, buildToolsExec()
Added functions for installing + using themes: addTheme()
, applyTheme()
, convertTheme()
, getThemes()
, getThemeInfo()
.
Added previewSql()
, for previewing output from executing a SQL query.
Added askForSecret()
, for prompting the user to enter a password or otherwise privileged information.
Fixed an issue where getActiveProject()
failed for non-ASCII paths. (#86)
Added methods for prompting the user for file paths: selectFile()
, selectDirectory()
.
askForPassword()
gains a default prompt (#41)
Add createProjectTemplate()
function
Add setPersistentValue()
/ getPersistentValue()
functions
Add methods for interacting with Terminal tab: terminalActivate()
, terminalClear()
, terminalCreate()
, terminalList()
, terminalBuffer()
, terminalContext()
, terminalVisible()
, terminalBusy()
, terminalRunning()
, terminalKill()
, terminalSend()
, terminalExecute()
, and terminalExitCode()
.
Add sendToConsole function
Add APIs for setting cursor position in document
Add askForPassword function
Add getActiveProject function
Compatibility with calling conventions for RStudio v0.99
Stubs and documentation for versionInfo, previewRd, and viewer functions
Initial release to CRAN