setLoadView              package:iSPlot              R Documentation

_L_o_a_d _A _D_a_t_a _F_i_l_e

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

     setLoadView opens a file explorer, which allows the user to load a
     file.   loadDF is called after the file was loaded and it
     determines if the  just loaded file contains a data object of
     class data.frame or matrix.   If the  file loads a dataframe or a
     matrix, that data set is added to  dfList in dataEnv.  setLoadView
     is called when the user chooses 'open file'  from the file menu. 
     setLoadView and setOpenDView are two ways to load a  data set.

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

     setLoadView()
     loadDF(newData,fileExt,fileName)

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

 newData: the new data element that was just loaded

 fileExt: the file extension in upper case

fileName: the name of the file (will be the name of the data in dfList)

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

     Elizabeth Whalen

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

     'updateControlWindow', 'setOpenDView', 'loadDFData'

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

       if (interactive())
       {
         createControlWindow()
         # normally setLoadView is called by choosing Open File under the File menu
         setLoadView()
       }

