This help topic is for R version 1.5.0. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/del.menu.cmd.html
del.menu.cmd {base}R Documentation

Removes a user menu item from the User's menu

Description

This command remove an entry from the User's Menu.

Usage

del.menu.cmd(label)

Arguments

label

the string characterizing the menu entry in the User's menu. If R finds this entry in the User's menu, then it will remove it from the menu. The matching is not case sensitive. If the item is the last item in the User's menu, the whole menu will be suppressed.

See Also

add.menu.cmd,del.num.cmd.

Examples

# we create 3 menus
add.menu.cmd("Menu1","dir()")
add.menu.cmd("Menu2","dir()")
add.menu.cmd("Menu3","dir()")

# we remove the second one
del.menu.cmd("Menu2")

# take care of the case, the first menu will be also removed
del.menu.cmd("menu1")

[Package base version 1.5.0 ]