Hi,

is it possible to put a summary of an rpart-Object into a tktext-window?

Here is what I'm trying to do:

fit <- rpart(Kyphosis ~ Age + Number + Start, data=kyphosis)
tt <- tktoplevel()
tex <- tktext(tt)
tkpack(tex)

tkinsert(tex, "end", summary(fit))

But since the summary of an object is a list, I always get back the  
following error-message:
cannot handle object of mode 'list'

So, is there a different tk-window I should use for this kind of  
"list" or does anyone have an idea how to put the list into a tktext- 
window?

Thanks for the help,
--
Anne Skoeries



        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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