[R] tkinsert matrix - how to display a matrix with tcltk

From: Simone Gabbriellini <simone.gabbriellini_at_sp.unipi.it>
Date: Sun 14 Aug 2005 - 02:09:27 EST


dear list,
I have problems with tkinsert
I need to display a matrix as a result of my function, but when I use tkinsert(txt, "end", myMatrix, sep="\n") I simply obtain a string.

I do:

n<-tclVar()
tclObj(n)<-matrix(data, ncol=lenght)
tkinsert(txt, "end", tclvalue(n), sep="\n")

any hints?

thank you in advance,
simone gabbriellini



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 Sun Aug 14 02:18:09 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:18:40 EST