Alex van der Spek
2013-Aug-09 10:31 UTC
[R] cat(summary(lm(Y~x, dat = data))) cannot handle lists; dput writes too much...
Is there a way to write the summary of lm objects to a text file on disk? cat won't handle the list, dput writes everything but not in human readable format. Any thoughts? Alex van der Spek
Sarah Goslee
2013-Aug-09 11:16 UTC
[R] cat(summary(lm(Y~x, dat = data))) cannot handle lists; dput writes too much...
What about sink()? Or capture.outout()? Or running your models as a batch file and saving the results? Sarah On Friday, August 9, 2013, Alex van der Spek wrote:> Is there a way to write the summary of lm objects to a text file on disk? > > cat won't handle the list, dput writes everything but not in human > readable format. > > Any thoughts? > Alex van der Spek >-- Sarah Goslee http://www.stringpage.com http://www.sarahgoslee.com http://www.functionaldiversity.org [[alternative HTML version deleted]]