1

I run r via rstudio using Windows, however, when I run the following code

library(tcltk)
tcltk::tk_messageBox(title = "Confirm",
                    message = "message",
                    icon = "question", type = "yesno", 
                    default = "yes")

The messagebox is hiding behind the Rstudio, and I need to minimize the Rstudio window to view and click on the messagebox. I would like to find a way to make the window of messagebox on the top of all windows.

Also the documentation of the package is not helpful. I really appreciate if you share any useful ones. Thanks

Mohamed
  • 95
  • 7

0 Answers0