Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: log files


From   "Michael S. Hanson" <[email protected]>
To   [email protected]
Subject   Re: st: RE: log files
Date   Thu, 5 Aug 2004 12:19:07 -0400

On Aug 5, 2004, at 11:32 AM, Nick Cox wrote:

> There are ways of creating files without
> using logs, but better advice would depend
> on knowing more about what you are doing.

	I have been wondering if there might be a way to only show command
results and text explicitly displayed in the log file (or in the
Results window in certain cases), rather than all the commands as well.
  Conceptually (I think), a -log- file with the contents of -cmdlog-
stripped out.  I haven't been able to track down any ado files that
might achieve that goal....


On Aug 5, 2004, at 11:08 AM, Owens, Douglas Hamilton wrote:

> When I do this I tend to write a do-file like
>
> qui {
> log using x.log, replace
> noi di  "blah blah , `blah'"
> log close
> }

	... but this clever trick seems to accomplish more or less what I had
in mind.  I never would have thought of it myself.  Thanks!

                                         -- Mike

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index