[R] Re: Embedding windows in a text widget

John Zhang jzhang at jimmy.harvard.edu
Fri Jan 3 20:33:03 CET 2003


Could someone tell me how to embed windows in a text box using "tkcreate" 
command of R tcltk package? I tried the following and was not successful;

base <- tktoplevel()
text <- tktext(base, width = 30, height = 10)
tkpack(text)
button <- tkbutton(text, text = "try")
tkcreate(text, "window", "end", window = button)

Thanks.

JZ




More information about the R-help mailing list