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

Re: st: Data file details


From   khigbee@stata.com
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Data file details
Date   Fri, 25 Jun 2004 13:48:12 -0500

Leonelo Bautista <lebautista@wisc.edu> asks:

> Is there a way to see what data file Stata is using at any time? I mean, a
> way to see the first 5-6 lines produced by "describe", without the details
> on the variables in the data file.

Type
        describe, short

or, with allowed abbreviations you could instead type 

        d, s

If you only wanted to know the name of current data file in use
you could type

	display c(filename)

There are many other things available in c().  Type

        creturn list

for all of them.


Ken Higbee    khigbee@stata.com
StataCorp     1-800-STATAPC

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