inputChar: Input a character

Description Usage Arguments Value Author(s) See Also Examples

Description

Input a character via GUI wizard. It returns nothing to the screen unless you assign the output to a variable.

Usage

1
2
3
4
5
inputChar(prompt = NULL, caption = NULL, default = "",
  gui = c("Rstudioapi", "Gwidgets", "WinGui"), ...)

input_char(prompt = NULL, caption = NULL, default = "",
  gui = c("Rstudioapi", "Gwidgets", "WinGui"), ...)

Arguments

prompt

character, the prompt label of the GUI window. Default NULL.

caption

character, the caption of the GUI window. Default NULL.

default

character, the default value for the inputbox. Default "".

gui

'Rstudioapi', 'Gwidgets' or 'WinGui'. Default 'Rstudioapi'. If 'Rstudioapi' and Rstudio version >= 1.1.67, then call showPrompt, or it calls winDialogString in Windows OS, otherwise uses a GUI wizard with gWidget2,

...

other arguments.

Value

invisible

Author(s)

Yiying Wang, wangy@aetna.com

See Also

showPrompt winDialogString

Examples

1
2
3
4
## Not run: 
x <- input_char(prompt="Input the api key", caption="API Key?")

## End(Not run)

madlogos/aseskit documentation built on June 26, 2019, 12:17 a.m.