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.num.cmd.html
del.num.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(menunum)

Arguments

menunum

the number 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. If the item is the last item in the User's menu, the whole menu will be suppressed.

See Also

del.menu.cmd,del.usr.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 ]