Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

Re: st: Clear Result Window in STATA

From   Nick Cox <>
Subject   Re: st: Clear Result Window in STATA
Date   Tue, 4 Dec 2012 13:26:53 +0000

I don't think Stata (NB spelling) supports what you want.

Experiment shows that

. window manage close results
results not allowed


On Tue, Dec 4, 2012 at 10:36 AM, rasool.bux <> wrote:
> Dear Ronnie,
> Thanks for reply but of course not, it is the same thing as in my code. I mean to launch/open purely new result window (like clear command  or new do editor windows) for log from scratch and want to discard the current results.
> One way is to completely close the STATA and re launch the STATA program but I don't like this.

Ronnie Babigumira

> Is this what you have in mind?

On Tuesday 4. December 2012 at 11.07, rasool.bux wrote:

>> Is there any to clear the result window? As I am doing the following code for that in STATA 12, it is not actually clearing the results but shows the blank page.
>> *************************
>> program define cls
>> di _newline(`=c(pagesize)')
>> end
>> **************************
>> I think there must be a button for New results windows also like new viewer, new do file editor etc. as in SAS software.
>> Is there any way to create buttons like that in STATA?
*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index