Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: re: How can commands be suppressed in the results window


From   Kit Baum <baum@bc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: re: How can commands be suppressed in the results window
Date   Wed, 18 Nov 2009 11:15:23 -0500

<.
But why should anyone care about the results window, as it is ephemeral?  Put the output in a logfile, and you can turn logging on and off, which will result in only the stuff you want going to the logfile. The rest will also be displayed in the results window.

sysuse auto, clear
log using someoutput, replace
desc
qui log off
list price mpg
qui log on
reg price mpg
reg price i.rep78
qui log off
g lprice = log(price)
l price lprice
qui log on
reg lprice mpg i.rep78
log close


Kit Baum   |   Boston College Economics & DIW Berlin   |   http://ideas.repec.org/e/pba1.html
                              An Introduction to Stata Programming  |   http://www.stata-press.com/books/isp.html
   An Introduction to Modern Econometrics Using Stata  |   http://www.stata-press.com/books/imeus.html


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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