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

RE: Wish list: clear stata result screen


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: Wish list: clear stata result screen
Date   Mon, 8 Nov 2004 20:09:56 -0000

This is better than my earlier suggestion, 
which please ignore. 

That said, the -n(200)- here means 200 newlines. 
You may have a big monitor that makes this 
an optimal answer, but again it may be too high. 

Nick 
[email protected] 

Dan Menes
 
> There doesn't seem to be a "clear" command, but
> 
> display _newline(200)
> 
> is a little simpler than the loop you suggested.  Make sure 
> you do a "set more off" first.

Renzo Comolli
 
> A small addition to the Stata Wish list: a command for "Clear 
> stata result
> screen"
> I think there is no such a command (I looked hard for it).
> 
> At the moment, I use an ado file I wrote (below), but for 
> some reason it is
> slow to execute.
> If any person on Statalist has any idea to make it faster, I 
> would greatly
> appreciate.
> 
> program define cls2
>         forvalues n=1/2000 {
>         display ""
>         local ++n
>         }
> end
> exit

*
*   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