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
)
A text string that denotes the dialog title.
A text string that denotes the message for the user.
A text string containing the help message.
A text string denoting the title bar for the help window.
A text string that cntains the function name for the relevant function (if any) in the help dialog.
Integer step in the GAT program, for help reference.
A string that denotes the display value for the no/cancel button.
Boolean denoting whether to include the back button.
if (interactive()) {
# define your message
inputGATmessage(title = "Random message window")
}
#> [1] "cancel"