Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: RE: Saving variable order to dofile


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Saving variable order to dofile
Date   Wed, 28 Nov 2012 23:04:51 +0000

unab all : *
di "`all'"

See Roger Newson's -descsave- (SSC etc.)

Nick

On Wed, Nov 28, 2012 at 10:51 PM, Ben Hoen <bhoen@lbl.gov> wrote:

> One easy way would be to use variable manager to select all and copy names
> to a var list.  See e.g.,
> http://www.stata.com/capabilities/overview/variables-manager/
>
> Then you could past the names after . order
>
> See . help order

Dudekula, Anwar

> I  am working with a large dataset with multiple variables and in the midst
> of analysis.I have aranged variables in specific manner . Is there a way to
> copy present order of variables to dofile without having to save the stata
> datafiles as I dont want to loose data
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index