getFile               package:RSurvey               R Documentation

_S_e_l_e_c_t _a _F_i_l_e _t_o _O_p_e_n _o_r _S_a_v_e.

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

     A pop up a dialog box for the user to select a file to open or
     save.

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

     getFile(cmd = "Open", exts = NULL, directory = NULL, file = NULL, titleStr = cmd)

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

     cmd: determines if an '"Open"' or '"Save As"' file management pop
          up dialog box is implemented.

    exts: an array of default file extensions.

directory: specifies that the files in 'directory' should be displayed
          when the dialog pops up.

    file: either a character string naming a file or a connection.

titleStr: a character string to display as the title of the dialog box.

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

     A list containing 4 components: 

     dir: the directory containing the file.

    path: the file path

    name: the file name

     ext: the file extension

_A_u_t_h_o_r(_s):

     Fisher, J. C.

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

     getFile()

