Did you try "sink"?

Spencer Graves

Alain Zuur wrote:
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 <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: [EMAIL PROTECTED]


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





















------------------------------------------------------------------------


______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to