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: Opening Stata file
From
Abu Camara <[email protected]>
To
[email protected]
Subject
Re: st: Opening Stata file
Date
Wed, 6 Nov 2013 12:06:25 +0300
Hi Maarten,
Thanks. That helped.
On 6 November 2013 11:59, Maarten Buis <[email protected]> wrote:
> On Wed, Nov 6, 2013 at 9:46 AM, Abu Camara wrote:
>> I am using Stata 13 IC and have attempted to open a file that has
>> probably 2047 variables and
>> I am getting the following message
>> no room to add more variables
>
> Say the file is called file1.dta, then you can see the exact variable
> names and their labels without opeing the file by typing:
>
> desc using file1.dta
>
> This can help when choosing which variables you want to keep and what
> their exact names are. Lets assume the variables you want to keep are
> called var1, var2, and var3. In that case you can open your file with
> only those variables by typing:
>
> use var1 var2 var3 using file1.dta
>
> Hope this helps,
> Maarten
>
> ---------------------------------
> Maarten L. Buis
> WZB
> Reichpietschufer 50
> 10785 Berlin
> Germany
>
> http://www.maartenbuis.nl
> ---------------------------------
> *
> * 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/
--
Best Wishes,
Abu Camara
*
* 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/