Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: New SSC package -viewresults-: display command output in the Viewer


From   "Ben Jann" <[email protected]>
To   <[email protected]>
Subject   st: New SSC package -viewresults-: display command output in the Viewer
Date   Thu, 16 Feb 2006 11:12:39 +0100

Thanks to Kit Baum, a new package called -viewresults-
is available from SSC.

To install the package, type

 . ssc install viewresults

In interactive work it would sometimes be convenient to 
be able to hold on to some piece of output in a separate
window. For example, it might be helpful to keep 
describe's output, i.e. a description of the data in 
memory, in a separate window. 

The new -viewresults- command supports this task. It 
executes a command and then displays a copy of the 
command's output in Stata's Viewer. For example, 

 . viewresults: regress price mpg

runs the regression and then opens a new Viewer window 
containing the estimation results.

The viewresults package also provides a command called 
-dview-, a convenience command to display the results of
-describe- in the Viewer. -dview- is a shorthand for

 . viewresults, name(describe) : describe

Cheers,
ben


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