Statalist


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

Re: st: Modify large data base without opening it


From   "Eva Poen" <[email protected]>
To   [email protected]
Subject   Re: st: Modify large data base without opening it
Date   Wed, 24 Sep 2008 21:49:49 +0100

You need to enclose it in quotation marks only if the directory (or
the file name) contains spaces. So, if Stata is installed in
C:\Program Files\Stata10 or similar, you'll need them.
C:\Programs\Stata10 should work fine without.

Eva


2008/9/24 Martin Weiss <[email protected]>:
> Am I the only one who needs quotation marks to make this work? Like
>
> desc using "`c(sysdir_stata)'auto.dta"
>
>
> HTH
> Martin
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Austin Nichols
> Sent: Wednesday, September 24, 2008 10:39 PM
> To: [email protected]
> Subject: Re: st: Modify large data base without opening it
>
> Try e.g.
>
> clear
> desc using `c(sysdir_stata)'auto.dta
> use in 1/10 using `c(sysdir_stata)'auto.dta
> use price mpg using `c(sysdir_stata)'auto.dta
>
>
> On Wed, Sep 24, 2008 at 4:18 PM, Jos� Luis Ch�vez Calva
> <[email protected]> wrote:
>> I'm working with a very large data base (1000m, 2000 vars) and my PC
>> is taking too long to open it. I would like to know if there is a way
>> or a specific command to drop some variables without actually opening
>> the data base.

*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index