addVig2Menu             package:Biobase             R Documentation

_A_d_d _m_e_n_u _i_t_e_m_s _t_o _a_n _e_x_i_s_t_i_n_g/_n_e_w _m_e_n_u _o_f _a _w_i_n_d_o_w

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

     These functions add menu items dynamically to an existing or new
     menu of a window for an R session.

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

     addVig2Menu(itemName, menuName = "Vignettes", itemAction = "")
     addVig4Win(menuName, itemName, itemAction)
     addVig4Unix(menuName, itemName, itemAction)
     addNonExisting(menuName)
     addPDF2Vig(pkgName)

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

menuName: 'menuName' - a character string for the name of menu that
          appears in the menu bar of the window of an R session. The
          string should be in the form of "menu/submenu/.." if a menu
          contains submenus

itemName: 'itemName' - a character string for the name of the item in
          the menu defined by 'menuName'

itemAction: 'itemAction' a character string for the action(s) to be
          taken when menu item 'itemName' is selected

 pkgName: 'pkgName' - a character string for the name of an R package

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

     The code checks to see if a menu already exists and adds an item
     to the menu if so. Otherwise, a new memu will be created with the
     item add.

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

     The functions do not return any value.

_N_o_t_e:

     The functions are 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

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

         # Only works for windows now
         if(interactive()){
             addPDF2Menu("Biobase")
         }

