Re: [R] Using text put into a dialog box

2010-02-16 Thread RagingJim
Thanks mate, awesome :) Everything is now working as ordered. Thanks to everyone who has chipped in and helped out this past week, much appreciated!!! -- View this message in context: http://n4.nabble.com/Using-text-put-into-a-dialog-box-tp1555761p1558278.html Sent from the R help mailing list

Re: [R] Using text put into a dialog box

2010-02-16 Thread Greg Snow
un...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of RagingJim > Sent: Tuesday, February 16, 2010 5:31 PM > To: r-help@r-project.org > Subject: Re: [R] Using text put into a dialog box > > > Thanks Greg, the problem is I have no idea how to return a

Re: [R] Using text put into a dialog box

2010-02-16 Thread RagingJim
Thanks Greg, the problem is I have no idea how to return and use what I have typed into the pop up. Add to that the complication that with this query x<-sqlQuery(conn, "select to_char(lsd,'-mm') as yr,ttl_mo_prcp from mo_rains where stn_num=23090") if I put anything other than a number into

Re: [R] Using text put into a dialog box

2010-02-15 Thread Greg Snow
Subject: [R] Using text put into a dialog box > > > I have written in R this: > > require(tcltk) > tt<-tktoplevel() > Name <- tclVar("") > entry.Name <-tkentry(tt,width="20",textvariable=Name) > tkgrid(tklabel(tt,text="Please enter s

[R] Using text put into a dialog box

2010-02-14 Thread RagingJim
I have written in R this: require(tcltk) tt<-tktoplevel() Name <- tclVar("") entry.Name <-tkentry(tt,width="20",textvariable=Name) tkgrid(tklabel(tt,text="Please enter site number.")) tkgrid(entry.Name) OnOK <- function() { NameVal <- tclvalue(Name) use.this=NameVal tkdes