Statalist The Stata Listserver


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

Re: st: help required using the -ds- command


From   Friedrich Huebler <huebler@rocketmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: help required using the -ds- command
Date   Wed, 28 Feb 2007 08:15:41 -0800 (PST)

Eamonn,

I am not sure what exactly you mean by "a list of my variable names
in one column" but does -xpose- deliver what you want?

Friedrich

. sysuse auto, clear
. keep in 1
. xpose, clear varname
. clist _varname, noobs

    _varname
        make
       price
         mpg
       rep78
    headroom
       trunk
      weight
      length
        turn
displacement
  gear_ratio
     foreign

--- Eamonn O'Brien <Eamonn.O'Brien@icr.ac.uk> wrote:
> Dear Statalist
> 
> I'm am trying to obtain a list of my variable names in one column (
> I
> have over 100 variables).  I haven't achieved this but I have been
> experimenting with the -ds- command, specifically the options
> 'varwidth(#)' and 'skip(#)'.  Can anyone help with this?
> 
> One small point, the help file for the -ds- option 'skip' states
> the
> default is skip(12) , but if I use skip(11) the following error is
> returned 'skip() should be in the range 1..10'.
> 
> Eamonn







 
____________________________________________________________________________________
Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
*
*   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