Re: [R] tclArray() --- "active"?!

2016-07-06 Thread Dalthorp, Daniel
Thanks, Peter. When it comes time to read the array back to R, I can explicitly delete the "active" cell first... On Wed, Jul 6, 2016 at 8:35 AM, peter dalgaard wrote: > I am not up to speed on Tcl/Tk these days, but I would suspect that the > issue lies in tkTable and not in

Re: [R] tclArray() --- "active"?!

2016-07-06 Thread peter dalgaard
I am not up to speed on Tcl/Tk these days, but I would suspect that the issue lies in tkTable and not in tclArray. The table widget has the notion of an active cell, which can be used in indexing operations. According to the widget documentation -- Command-Line Name:-variable Database Name:

[R] tclArray() --- "active"?!

2016-07-06 Thread Dalthorp, Daniel
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()