I know it should not be difficult to write the string:

i<-4
j<-17
lbl<-paste0("[", i, ", ", j, "]")

# to a table, but I'm having a devil of a time trying to figure out how to
do it.
# the following gives lbl surrounded by braces.

tt<-tktoplevel()
tfr <- tkframe(tt)
tkgrid(tfr)
junk<-tclArray()
junk[[0,0]]<-lbl
table1<-tkwidget(tfr,"table", rows=1, cols=1, variable=junk)
tkgrid(table1)


How to write without the braces?

Any quick suggestions would be very much appreciated...I've burned much
time trying to figure this should-be-simple problem out.

Thanks!



-- 
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.

Reply via email to