addVig2Menu {Biobase}R Documentation

Add menu items to an existing/new menu of a window

Description

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

Usage

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

Arguments

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

Details

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.

Value

The functions do not return any value.

Note

The functions are part of the Bioconductor project at Dana-Farber Cancer Institute to provide Bioinformatics functionalities through R

Author(s)

Jianhua Zhang

Examples

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

[Package Contents]