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]
st: Importing subset of a pipe delimited textfile
From
Rob Shaw <[email protected]>
To
[email protected]
Subject
st: Importing subset of a pipe delimited textfile
Date
Wed, 17 Oct 2012 09:13:34 +0100
Hi
I have a very large (around 4Gb) text file that has been pipe
delimited. It won't all fit in memory so I want to process it in
parts.
For fixed datasets I would use infile with the in 1/10000000 option
then 10000001/2000000 etc. However, this dataset has been pipe
delimited so I would need to use insheet, but insheet doesn't seem to
permit the "in" option.
Can anyone help please?
Many thanks
Rob
*
* 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/