Dear R-users,

I'm trying to export object taulu3 from R to a text file (separated with
semicolon). Object taulu3 is made with summary.formula in Hmisc package:

taulu3 <- summary(sp ~ pdg_newtext, data=tr_ekahj, method="reverse",
overall=TRUE)
class(taulu3)
[1] "summary.formula.reverse"

When I try to export the object taulu3, I get the following error message:

write.table(taulu3, "O:/taulu1.txt", sep=";")

Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors =
stringsAsFactors) :
        cannot coerce class "summary.formula.reverse" into a data.frame

How can I get this object exported properly? I'm using Windows XP and I
don't know latex yet.

Regards,
Lauri

	[[alternative HTML version deleted]]

