tk_choose.dir             package:tcltk             R Documentation

_C_h_o_o_s_e _a _F_o_l_d_e_r _I_n_t_e_r_a_c_t_i_v_e_l_y

_D_e_s_c_r_i_p_t_i_o_n:

     Use a Tk widget to choose a directory interactively.

_U_s_a_g_e:

     tk_choose.dir(default = "", caption = "Select directory")

_A_r_g_u_m_e_n_t_s:

 default: which directory to show initially.

 caption: the caption on the selection dialog.

_V_a_l_u_e:

     A length-one character vector, character 'NA' if 'Cancel' was
     selected.

_S_e_e _A_l_s_o:

     'tk_choose.files'

_E_x_a_m_p_l_e_s:

     ## Not run: 
     tk_choose.dir(getwd(), "Choose a suitable folder")
     ## End(Not run)

