See example for the element order in the vectors :
inpboxc.png
To get the menu, just use the following code:
vlabel<-c('combo list')vcombo<-c('a','b','c','d')inp<-c('0')ans<-inpboxc(vlabel,vcombo,inp)
References
Lawrence M.F.,Verzani J., (2012) Programming Graphical User Interfaces in R,CRC Press Taylor & Francis Group