# NOT RUN {
# A 'gui' object named .GUI is automatically created in 'SciViews:TempEnv'
gui_list()
# Create a new GUI object to manage a separate GUI in the same R session
gui_add("myGUI")
gui_list()
# Change general properties of this GUI
gui_ask(myGUI) <- FALSE
# Add widgets to this GUI (you must provide methods for them)
# see the svDialogs package for examples
gui_widgets(myGUI) <- "tcltkWidgets"
gui_widgets(myGUI) # Added to existing ones if reset is FALSE
# Remove this new GUI
gui_remove("myGUI")
# }
Run the code above in your browser using DataLab