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
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
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
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
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
5 matches
Mail list logo