Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <njcoxstata@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Problem with infix: record too long |
Date | Sun, 24 Apr 2011 19:45:35 +0100 |
2011/4/24 Barbara Guimarães <barbara.vgh@gmail.com>: > Dear statlisters, > > I'm having trouble reading data with infix. I am using Stata 11.1 for Windows. > > I received the "record too long" error, and I subsequently read the > thread "Re:st:reading data with infix: record too long" (as of 2003 > and 2008), then checked my data set with -hexdump, analyze- but I > don't know what to do now. > > The number of lines in my dataset is 3,972,429, but Stata is only > reading 2,513,116 lines. I have also tried to open the dataset using a > text editor to see if I could do something about it (my data set > format is .TXT), but its not opening due to its size. > I have alos tested reading the dataset wiht only one or two variables, > but in all cases Stata only brings part of the sata set and I receive > the "record too long" error. > > I do believe it is not a memory issue, because I had previously read > another dataset in Stata, which was as large as this one, with no > problems. The dataset I'm having trouble with reading is in Binary > format, and I don't know if this is the cause of the error or not (the > other dataset is ASCII format). > > What are the possibilities, if any, to integraly read this file in > Stata? I would need to merge both datasets afterwards, would it be > possible? > > Thanks and regards, > > Barbara > * > * 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/