[R] GUI Development reg
jverzaniNWBKZ
jverzani at gmail.com
Fri Nov 16 19:34:55 CET 2012
You can use the `gWidgets` package to do this kind of thing easily enough:
require(gWidgets)
my_vec <- character(0)
items <- state.name ## some values
handler <- function(h,...) my_vec <<- svalue(h$obj)
w <- gwindow()
g <- ggroup(cont=w, horizontal=FALSE)
## one way to select one or more from many
gcheckboxgroup(items, cont=g, use.table=TRUE, handler=handler)
--
View this message in context: http://r.789695.n4.nabble.com/GUI-Development-reg-tp4649569p4649780.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list