Statalist


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

st: RE: RE: Re: How can commands be suppressed in the results window


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: Re: How can commands be suppressed in the results window
Date   Wed, 18 Nov 2009 15:31:17 +0100

<>

So this would be a primitive way to achieve the suppression of output:

*************
pr drop _all

prog nodisp
syntax anything
forv i=1/1{
`anything'
}
end

sysuse auto, clear
nodisp reg we le tr
*************


HTH
Martin


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Cohen, Elan
Sent: Mittwoch, 18. November 2009 15:10
To: '[email protected]'
Subject: st: RE: Re: How can commands be suppressed in the results window

I know that if you put your commands in a for loop, it will suppress the
printing of the commands, but not the output.  I'm not sure if a for loop is
possible in your case.

- Elan
 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Babak Oskooei
> Sent: Wednesday, November 18, 2009 8:58 AM
> To: Stata List
> Subject: st: Re: How can commands be suppressed in the results window
> 
> Dear Stata Users,
> 
> Thanks for those who replied to my previous question, 
> specially Nick Cox. I have a further question regarding the 
> results window. I have to carry out repetitive commands, lots 
> of them, which I wrote in a do file. I would like to prevent 
> them from appearing in the results window and only have the 
> outputs which are only tables. 
> 
> I know the command "quietly", but when I include it, it 
> suppresses all the output.
> 
> I would appreciate any comments on this.
> 
> Kind regards
> 
> Babak Oskooei
> MRC Clinical Trials Unit
> London
> 
> 
>       
> *
> *   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/
> 
> 
*
*   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/

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index