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.usr.cmd.html
del.usr.cmd {base}R Documentation

Remove the whole User's menu

Description

This command remove, if any, the User's menu from the R Console menubar.

Usage

del.usr.cmd()

See Also

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

Examples

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

# we remove the second one
del.num.cmd(2)
# we remove the whole menu
del.usr.cmd()

[Package base version 1.5.0 ]