Replicates the functionality of the homonymous function in Matlab (sans dialog box)
Arguments
- prompt
Text field with user instructions
- dims
number of dimensions in the answwers
- definput
default value of the input
Examples
if (FALSE) {
name <- inputdlg("Type your name")
paste("Hello,", name)
}