Improved version of menu()

menu_first(choices, graphics = FALSE, title = NULL)

Arguments

choices

a character vector of choices

graphics

a logical indicating whether a graphics menu should be used if available.

title

a character string to be used as the title of the menu. NULL is also accepted.