Displaying 1 result from an estimated 1 matches for "launchdlg".
Did you mean:
launchd
2008 Jul 18
0
Retrieving data from a tcl /tk function
...eturnVal <- modalDialog("First Name Entry", "Enter Your First Name", "")
if (ReturnVal == "ID_CANCEL") return()
tkmessageBox(title = "Greeting",
message = paste("Hello, ", ReturnVal, ".", sep = ""))
}
launchDlg.button <- tkbutton(ttMain, text = "Launch Dialog", command = launchDialog)
tkpack(launchDlg.button)
How can I retrieve the input value of ReturnVal? Also, is there a book that you would recommend to understand the interface between tcl/tk and R? Dr. Dalgaard's article was...