Learn R Programming

svDialogs (version 1.0.0)

svDialogs-package: SciViews - Standard Dialog Boxes for R

Description

Rapidly construct standard dialog boxes for your GUI, including message boxes, input boxes, list, file or dir selection, ... In case R cannot display GUI dialog boxes, a simpler command line version of these interactive elements is also provided as fallback solution.

Arguments

Important functions

  • dlg_message() display a message box,

  • dlg_input() prompt for textual input,

  • dlg_list() select one or more items in a list,

  • dlg_open() open one or more existing file(s),

  • dlg_save() prompt for a file to save to (and ask confirmation if the file already exists),

  • dlg_dir() select a directory,

  • dlg_form() display a complex dialog box with textual areas, password, checkboxes, comboboxes, font and size, color, etc.