Re: [R] gWidgetstcltk gtext problem

2012-04-01 Thread j verzani
mrzung gmail.com> writes: > > hi, what I want to do is put a function result(output) into gtext area. > short example is following, > > require("gWidgetstcltk") > options(guiToolkit = "tcltk") > > win<-gwindow() > input<-gedit("",con=win) > run<-gbutton("run",con=win,handler=function(h,...){ >

[R] gWidgetstcltk gtext problem

2012-04-01 Thread mrzung
hi, what I want to do is put a function result(output) into gtext area. short example is following, require("gWidgetstcltk") options(guiToolkit = "tcltk") win<-gwindow() input<-gedit("",con=win) run<-gbutton("run",con=win,handler=function(h,...){ y<<-as.numeric(svalue(input))+1 }) outarea<-gtext(