dataViewer             package:tkWidgets             R Documentation

_F_u_n_c_t_i_o_n _t_o _v_i_e_w _a _d_a_t_a _o_b_j_e_c_t _p_a_s_s_e_d

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

     This function creates a widget to allow users to view the content
     of a data frame passed and decide whether to save the data or not.

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

     dataViewer(data, caption = "", save = TRUE)

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

    data: 'data' a data frame (or alike) to be viewed

 caption: 'caption' a character string for the title of the widget

    save: 'save' a boolean to indicate whether to have the option to
          allow users to save the data

_D_e_t_a_i_l_s:

     Taking a data frame as one of the arguments, this function builds
     a widget that allows users to view the content of the data and
     save the data as a file.

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

     This function does not return any value

_N_o_t_e:

     This function is part of the Bioconductor project at Dana-Farber
     Cancer Institute to provide Bioinformatics functionalities through
     R

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

     Jianhua Zhang

_R_e_f_e_r_e_n_c_e_s:

     R tcltk

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

     'importWizard'

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

     # Create matrix
     data <- matrix(1:20, ncol = 4)
     if(interactive()){
         # View data using dataViewer
         dataViewer(data, "test", TRUE)
     }

