Pop-up windows work independently of any other UI elements. That is, you can use these popups without having initialised or rendered any other UI elements.

Color Picker

After selecting a colour and clicking “OK” the hexcode for that colour is returned to the user

Open/Save File

These popups will let you choose a file to open or save.

The ‘save’ popup has extra checks like asking you if you’d like to overwrite an existing file.


Message box

This popup displays a popup and can be configured to show different sets of buttons e.g. “ok/cancel”, “Yes/no/cancel” etc.

library(tickle)
popup_messagebox("Hello #RStats")
popup_messagebox("Is this worth it?", type = 'yesnocancel')