Re: [R] Possible bug in foreign library import of Stata datasets

2004-04-28 Thread Thomas Lumley
On Wed, 28 Apr 2004, Peter Dalgaard wrote: Looks like a classic signed/unsigned confusion. Negative numbers stored in ones-complement format in single bytes, but getting interpreted as unsigned. A bug report could be a good idea if the resident Stata expert (Thomas, I believe) is unavailable

Re: [R] Possible bug in foreign library import of Stata datasets

2004-04-28 Thread Thomas Lumley
On Wed, 28 Apr 2004, Paul Johnson wrote: The read.dta has translated the negative values as (256-deml). Is this the kind of thing that is a bug, or have I missed something in the documentation about the handling of negative numbers? Should a formal bug report be filed? A fixed version of