See example for the element order in the vectors
inpboxe4cek2.png
To get the menu just use the following code:
vlabel<-c('matrix1','matrix2','matrix3','matrix4','combo','matrix5','option1','option2')vcombo<-c('a','b','c','d')inp<-c('M','N','S','T','Q','FALSE','TRUE','-1')ans<-inpboxe4cek2(vlabel,vcombo,inp)
References
Lawrence M.F.,Verzani J., (2012) Programming Graphical User Interfaces in R,CRC Press Taylor & Francis Group