inputdlg {matlab2r}R Documentation

Gather user input

Description

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

## Not run: 
 name <- inputdlg("Type your name")
 paste("Hello,", name)

## End(Not run)

[Package matlab2r version 1.5.0 Index]