powered by
Replicates the functionality of the homonymous function in Matlab (sans dialog box)
inputdlg(prompt, dims = 1, definput = NULL)
A user prompt
Text field with user instructions
number of dimensions in the answwers
default value of the input
if (FALSE) { name <- inputdlg("Type your name") paste("Hello,", name) }
Run the code above in your browser using DataLab