Re: Storing model output summary
by Riccardo (Jack) Lucchetti
On Wed, 7 Apr 2021, Iago Varela wrote:
> Hi, it wasn't clear to me how to save to a file and print to the console
> at the same time, but you're right I didn't focus enogh, I worked around
> it with eval readfile("logit_summary.txt")
One of the nice little utilities you have in the UNIX world is called
"tee", and makes it possible to redirect output to a file while still
having it displayed on stdout.
Maybe we could have a --tee option to "outfile"; Allin, what do you think?
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------