gui.readline {utilitiesR}R Documentation

cross-platform user input interface

Description

This is a cross-platform function to allow the user to type some input interactively.

Usage

  gui.readline(message, default = "", graphics = TRUE)

Arguments

message

message asked to the user

default

default value

graphics

whether to present a graphics interface (if possible)

Details

If graphics=TRUE, winDialogString is used on Windows, and tk_entry.dialog otherwise (& if supported), and an interactive text interface (readline) if all else fails.

Value

character string of what the user typed.

See Also

Other ui: dir.browse, file.browse, Filters, gui.dir.choose, gui.file.choose, gui.menu, gui.yesno, tk_entry.dialog, tk_select.list


[Package utilitiesR version 1.8.2 Index]