Sometimes when working with tclArray's, an empty element called "active" is appended to the array. Does anyone know when (and why) this happens? And how to prevent it (or at least predict it so that it can be removed by hand)?
E.g., library(tcltk); library(tcltk2) tt<-tktoplevel() dat<-tclArray() tab<-tk2table(tt, variable = dat) tkgrid(tab) dat[[0,0]]<-5 dat[[1,0]]<-4 dat[[2,0]]<-56 tkdelete(tab,"rows",2, 8) names(dat) Any help would be greatly appreciated! -Dan -- Dan Dalthorp, PhD USGS Forest and Rangeland Ecosystem Science Center Forest Sciences Lab, Rm 189 3200 SW Jefferson Way Corvallis, OR 97331 ph: 541-750-0953 ddalth...@usgs.gov [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.