Try this: switch(menu(c("Normal", "Uniform")), A=rnorm(5), B=runif(5))
for more details see ?menu On 06/03/2008, ermimi <[EMAIL PROTECTED]> wrote: > > Hello, I´m spanish student, and I´m making the finish project of computer > science. I´m working in R and I need create a Interface which allow me > select diferents execution options (similar to a menu). Is posible to create > this menu,or interface, with R? or I have create this interface with other > language. > > Thank you very much, and I hope that you understand my english. > -- > View this message in context: > http://www.nabble.com/CREATE-INTERFACE-TO-SELECT-DIFERENT-OPTIONS-tp15872171p15872171.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.