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
You may want to use tkwait.window(tt) If the below is in a function, then tkwait.window(tt) will wait until the window goes away (the user clicking on the button) before continuing with the code, then you can return the result after that. Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Stati