Re: [R] GUI Development reg

2012-11-16 Thread jverzaniNWBKZ
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 m

Re: [R] GUI Development reg

2012-11-16 Thread Ista Zahn
Hi Vijayan, I just discovered http://www.rstudio.com/shiny/ which I think would make it pretty easy to do this. Best, Ista On Thu, Nov 15, 2012 at 1:31 AM, Vijayan Padmanabhan wrote: > Dear R Group > > I have a character vector from which I want to select a few elements and > create a new chara

Re: [R] GUI Development reg

2012-11-15 Thread Bert Gunter
Vijayan: Choose one or both from the following. 1. You don't . R is a programming language that you learn. Read the Intro to R Tutorial to start learning. 2. See the R GUI page on CRAN here: http://www.sciviews.org/_rgui/ There are several GUI's available for R and you can choose one that suits

[R] GUI Development reg

2012-11-14 Thread Vijayan Padmanabhan
Dear R Group I have a character vector from which I want to select a few elements and create a new character vector. I need a GUI to do this in R Script. Can someone help? a<-c("A","B","C","D","E") ## I want to have a GUI in R that will display elements in "object a" as a drop down list.. fr