Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Infile stops reading dataset

From   Ronán Conroy <>
Subject   Re: st: Infile stops reading dataset
Date   Wed, 28 Mar 2007 20:49:37 +0100

On 27 Márta 2007, at 17:09, evan roberts wrote:


Has anyone ever had infile stop reading a dataset part way through a file for no apparent reason?

I have tested the dictionaries and the data reads in correctly for the first 3534 lines of the file, and then stops (there are 778,429 lines in the file -- it is hierarchical).
It's good that Bill has found the particular cause of this glitch, but in general this sort of problem often results from non-printing junk characters in your data. Especially beware of files that resided on MS-DOS.

The first step in fixing this problem is probably to open the data file in a text editor and simply issue the 'convert to ASCII' command.

Ronán Conroy
Royal College of Surgeons in Ireland
+353 (0) 1 402 2431
+353 (0) 87 799 97 95

* For searches and help try:

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