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   Richard J Stoll <[email protected]>
To   [email protected]
Subject   Re: ***SPAM*** st: splitting a large file without reloading it in the memory.
Date   Thu, 25 Dec 2008 23:20:46 -0600 (CST)

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: [email protected] * 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/



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