This function opens a dialog window for the user to confirm the contents of the provided message.

Figure: Message dialog

Select your desired variables and the exclusion criterion for each.

  • Click Yes to confirm the message.

  • Click No to refuse the message.

  • Click Back to return to the previous step.

  • Click Help to get further guidance and open the manual.

inputGATmessage(
  title = "GAT input window",
  msg = "Is GAT fun?",
  help = "There is no help.",
  helptitle = "inputGATmessage",
  helppage = "inputGATmessage",
  step = 0,
  buttonopt = "Cancel GAT",
  backopt = TRUE
)

Arguments

title

A text string that denotes the dialog title.

msg

A text string that denotes the message for the user.

help

A text string containing the help message.

helptitle

A text string denoting the title bar for the help window.

helppage

A text string that cntains the function name for the relevant function (if any) in the help dialog.

step

Integer step in the GAT program, for help reference.

buttonopt

A string that denotes the display value for the no/cancel button.

backopt

Boolean denoting whether to include the back button.

Examples


if (interactive()) {
# define your message
inputGATmessage(title = "Random message window")
}
#> [1] "cancel"