[R] Lists, Vectors, TclTk

From: Timothy Downs <timdowns_at_telstra.com>
Date: Mon 09 May 2005 - 17:26:52 EST

I am trying to create an array of tkwidgets in R, as in the following example:

tt <- tktoplevel()
cbs <- c()
for(i in 1:40) cbs[i] <- tkcheckbutton(tt)

This only stores the $ID part returned by tkcheckbutton. How would I go about doing correctly?



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon May 09 17:31:49 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:39 EST