Re: [Rd] win variable in tcltk

2004-12-28 Thread Peter Dalgaard
"Gabor Grothendieck" <[EMAIL PROTECTED]> writes: > The following gives an error message: > > library(tcltk) > > win <- list(env="A") > > tt <- tktoplevel() > but <- tkbutton(tt, text="X", command=expression(tkdestroy(tt))) > tkgrid(but) > > however, if one comments out the win line (and remov

[Rd] win variable in tcltk

2004-12-28 Thread Gabor Grothendieck
The following gives an error message: library(tcltk) win <- list(env="A") tt <- tktoplevel() but <- tkbutton(tt, text="X", command=expression(tkdestroy(tt))) tkgrid(but) however, if one comments out the win line (and removes the win variable) then it works. It seems that tcltk is making use