An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120423/1d170595/attachment.pl>
save model summary
2 messages · Eiko Fried, Berend Hasselman
On 23-04-2012, at 15:20, Eiko Fried wrote:
Hello, I'm working with RStudio, which does not display enough lines in the console that I can read the summary of my (due to the covariance-matrix rather long) model. There are no ways around this, so I guess I need to export the summary into a file in order to see it ... I'm new to R, and "R save model summary" in google doesn't help, neither does "help(save)" or "help(write.csv)". If I try the commands I get the error:
write.csv(summary(m2),file="data.csv")
Error in as.data.frame.default(x[[i]], optional = TRUE) :
cannot coerce class 'structure("mer", package = "lme4")' into a
data.frame
?sink ?capture.output Berend