Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: How to rename a list of all consecutive variables in a data set?
From
Neil Shephard <[email protected]>
To
[email protected]
Subject
Re: st: How to rename a list of all consecutive variables in a data set?
Date
Fri, 7 Jan 2011 12:05:20 +0000
On Fri, Jan 7, 2011 at 11:41 AM, Eleonora Paesen
<[email protected]> wrote:
> Hello,
>
> Does anyone know how to rename a list of consecutive variables
> included in a dataset (as they are ordered in it)?
> I have tried this:
> rename varalpha-varomega newvaralpha-newvaromega
> It does not work.
Easiest utility for this is the -renvars-.
findit renvars
...will get you the most recent version. Then -man renvars- for
details of usage.
Neil
--
"Our civilization would be pitifully immature without the intellectual
revolution led by Darwin" - Motoo Kimura, The Neutral Theory of
Molecular Evolution
Email - [email protected]
Website - http://kimura.no-ip.org/
Photos - http://www.flickr.com/photos/slackline/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/