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

Simone Gabbriellini simone.gabbriellini at sp.unipi.it
Sat Aug 13 18:09:27 CEST 2005


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




More information about the R-help mailing list