Henrik Andersson <[EMAIL PROTECTED]> writes: > I would like to display output to a tcltk window from e.g. a call to > summary(). > > > > I tried to get something else than oneliners into a text window of the > kind found at: > > http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/TextWindows.html > > But without success.
(Rcmdr must be doing this sort of thing already?) I'd try this: 1) str <- paste(capture.output(summary(myfit),collapse="\n")) 2) clone the tkfaq demo (or one of James W.'s examples), but replace the line tkinsert(txt, "end", tkcmd("read", chn)) with tkinsert(txt, "end", str) -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ 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