[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: RE: log close
At 12:04 04/03/03 +0000, Dimitriy V. Masterov wrote:
You might like to use the -dolog- package, downloadable from SSC. (Type
-ssc describe dolog- to find out more.)
I was wondering if there is a way to automatically close the log file when
there is a dofile error of some sort. I always forget to type -log close-
and then I get an error when I run my corrected dofile when it gets to
the -log using...- section.
I realize this is a trivial problem, but I am rather absent-minded, and
this causes me and my colleagues a lot of frustration.
If you install -dolog- and have a do-file -myprog.do-, with no -log using-
or -log close- statements, then you can simply type
and Stata will run -myprog.do-, creating a file -myprog.log-.
I hope this helps.
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Opinions expressed are those of the author, not the institution.
* For searches and help try: