Statalist


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

Re: ***SPAM*** st: splitting a large file without reloading it in the memory.


From   "Ashim Kapoor" <ashimkapoor@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: ***SPAM*** st: splitting a large file without reloading it in the memory.
Date   Fri, 26 Dec 2008 12:23:59 +0530

Hi Richard,

Thank you for your reply. Aldo I don't think save allows an if but I
think -help outsheet-  does allow an if.

Thank you,
Ashim
On Fri, Dec 26, 2008 at 10:50 AM, Richard J Stoll <stoll@rice.edu> wrote:
> You can specify an if condition with the -use- command, i.e.,
>
> use hugefruitbasket if(symbol == "apple")
>
> That will read only the cases where symbol is "apple."  Obviously you can
> put this into a foreach loop.
>
> HTH
> ------------------------------------------------------------------------
> Richard J. Stoll * Professor of Political Science * Rice University
> Dept. Political Science MS 24 * P.O. Box 1892 * Houston TX 77251-1892
> E-mail: stoll@rice.edu * Tel: 713-348-3362 * FAX: 713-348-5273
>
> *
> *   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/
>
*
*   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