createDataView            package:iSPlot            R Documentation

_C_r_e_a_t_e _a _S_p_r_e_a_d_s_h_e_e_t _o_f _t_h_e _D_a_t_a

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

     createDataView is called by createView when the type is
     "spreadView".  createDataView creates a gtk window that contains a
     spreadsheet of the data from one of the loaded data sets.

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

     createDataView(win, dfName)

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

     win: the gtk window 

  dfName: the name of the data 

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

     Returns the new view object of class, spreadView.

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

     Elizabeth Whalen

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

     'createView', 'createPlotView', 'spreadView-class'

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

       if (interactive())
       {
         createControlWindow()
         # should load data through Open Data or Open File under the File menu
         data(USArrests)
         loadDFData(USArrests,"USArrests")
         # creating the spreadsheet should occur through View Data under 
         # the Display menu
         createView(type="spreadView",dataName="USArrests")
         # createView will call createDataView when the type is "spreadView"
       }

