Skip to contents

Replicates the functionality of the homonymous function in Matlab (sans dialog box)

Usage

inputdlg(prompt, dims = 1, definput = NULL)

Arguments

prompt

Text field with user instructions

dims

number of dimensions in the answwers

definput

default value of the input

Value

A user prompt

Examples

if (FALSE) {
 name <- inputdlg("Type your name")
 paste("Hello,", name)
}