Re: [R] tkconfigure throws an error

2008-04-01 Thread stephen bond
bond"<[EMAIL PROTECTED]>, Subj: RE: [R] tkconfigure throws an error The command argument in the tkconfigure call should be a function, you have the results of sourcing the file, probably not the correct thing. Try something like: tkconfigure(b1,command=function(...){source("./src/f.i

Re: [R] tkconfigure throws an error

2008-03-31 Thread Greg Snow
tical Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of stephen bond > Sent: Monday, March 31, 2008 2:45 PM > To: r-help@r-project.org > Subject: [R]

[R] tkconfigure throws an error

2008-03-31 Thread stephen bond
Thanks everybody for looking at this. I am trying to assign a script to a button please help: library(tcltk) tt<- tktoplevel() tktitle(tt)<-"the title" heading<-tklabel(tt,text="Enter date as -MM-DD") l1<-tklabel(tt,text="Reporting date") b1=tkbutton(tt,text="Run") d.val<-tkentry