[R] export lm object to ascii from batch mode

About this list Date view Thread view Subject view Author view Attachment view

From: Alain Zuur (highstat@highstat.com)
Date: Sun 23 Mar 2003 - 12:09:42 EST


Message-id: <5.2.0.9.2.20030323010005.00ba0cf0@mail.highstat.com>



Hi,

I'm running R in batch mode from Tcl. I'm using R code of the form:   tmp<-lm(Y ~ X)  

I would like to have the:   print(summary(tmp))
output in an ascii file. In the same way/format as it would normally appear in R.

Any suggestions would be very helpful (tried all the functions dump, save, write, etc, their help files and archives..but I'm stuck).

Kind regards,

Alain

In a later stage, I want to do the same for the summary stuff of  step(), gam() and glm().





Dr Alain F. Zuur

NEW: Statistics course "Analysing Biological and Environmental Field Data"
http://www.highstat.com


Highland Statistics Ltd.
Statistical courses, consultancy and data analysis
6 Laverock road
Newburgh AB41 6FN
Aberdeenshire
United Kingdom
Tel: +44 (0)1358 789293
email: highstat@highstat.com


Brodgar: Software for Multivariate Analysis and Multivariate Time Series Analysis
http://www.brodgar.com





















______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:11:26 EST