winDialog                package:base                R Documentation

_D_i_a_l_o_g _B_o_x_e_s _u_n_d_e_r _W_i_n_d_o_w_s

_D_e_s_c_r_i_p_t_i_o_n:

     Put up a Windows dialog box to communicate with the user. There
     are various types, either for the user to select from a set of
     buttons or to edit a string.

_U_s_a_g_e:

     winDialog(type = c("ok", "okcancel", "yesno", "yesnocancel"), message)
     winDialogString(message, default)

_A_r_g_u_m_e_n_t_s:

    type: The type of dialog box. It will have the buttons implied by
          its name.

 message: The information field of the dialog box.

 default: The default string.

_V_a_l_u_e:

     For `winDialog' a character string giving the name of the button
     pressed (in capitals) or `NULL' (invisibly) if the user had no
     choice.

     For `winDialogString' a string giving the contents of the text box
     when `Ok' was pressed, or `NULL' if code{Cancel} was pressed.

_S_e_e _A_l_s_o:

     `winMenus'
     `file.choose' to select a file.

_E_x_a_m_p_l_e_s:

     winDialog("yesno", "Is it OK to delete file blah")

