rstudioapi (version 0.10)

updateDialog: Updates a Dialog Box

Description

Updates specific properties from the current dialog box.

Usage

updateDialog(...)

Arguments

...

Named parameters and values to update a dialog box.

Details

Currently, the only dialog with support for this action is the New Connection dialog in which the code preview can be updated through this API.

    updateDialog(code = "con <- NULL")