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" <eva.poen@gmail.com>
To   statalist@hsphsun2.harvard.edu
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 <martin.weiss1@gmx.de>:
> 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: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Austin Nichols
> Sent: Wednesday, September 24, 2008 10:39 PM
> To: statalist@hsphsun2.harvard.edu
> 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
> <josechc@gmail.com> 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index