Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Barbara Guimarães <barbara.vgh@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Problem with infix: record too long |
Date | Wed, 27 Apr 2011 09:47:30 -0300 |
Thank everyone for the suggestions. I was able to open the file with the program Notepad++. It was not a surprise when it showed only Special characters starting from the exact line where Stata stops reading it. I do believe there's an error in the file itself. Now I'm trying to contact the provider of the dataset to see what they can do about it. 2011/4/26 DE SOUZA Eric <eric.de_souza@coleurope.eu> > > True, but Barbara doesn't seem to absorb the implications of this. > Barbara,there is no way Stata can read the file. The .txt extension is just not correct. You have to find out in which format the data were saved. Then you have to assign the file the proper extension and see which software can convert it to a text format (.csv would be better) > > > Eric de Souza > College of Europe > Brugge (Bruges), Belgium > http://www.coleurope.eu > > > > -----Original Message----- > From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox > Sent: 26 April 2011 10:08 > To: statalist@hsphsun2.harvard.edu > Subject: Re: st: Problem with infix: record too long > > Indeed. This has been established from the very first posting in this thread! > > Nick > > On Tue, Apr 26, 2011 at 8:54 AM, DE SOUZA Eric <eric.de_souza@coleurope.eu> wrote: > > The end of the file indicates that it is not a text file but a binary file. When you open a binary file in a text editor that is the kind of stuff you get. > > > > > > Eric de Souza > > College of Europe > > Brugge (Bruges), Belgium > > http://www.coleurope.eu > * > * 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/ * * 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/