From bates@stat.wisc.edu  Sat May  5 21:42:22 2001
From: bates@stat.wisc.edu (Douglas Bates)
Date: 05 May 2001 15:42:22 -0500
Subject: [Rd] read.xport bug of foreign pkg (PR#933)
In-Reply-To: <200105052017.WAA15889@pubhealth.ku.dk>
References: <200105052017.WAA15889@pubhealth.ku.dk>
Message-ID: <6ritjf1qa9.fsf@franz.stat.wisc.edu>

jorvutom@icaro.dic.uchile.cl writes:

> Full_Name: Jorge A. Tomasevic
> Version: 1.2.2
> OS: Win98
> Submission from: (NULL) (146.83.23.177)
> 
> 
> As i'm not an "R-expert-user", i will describe what i do:
> 
> i) open Rgui.exe
> ii) ivoke foreign library : >library(foreign)
> iii) i try to read an .xpt file (from Systat 9): >datos <-
> read.xport('ipoisson.xpt')
> iv) then the program crashes. Norton CrashGuard alerts the multiple failures:
> 
> Windows 98 Version 4.10.1998
> RGUI failure in no-valid page module KERNEL32.DLL of 0177:bff7b983.
> Regiters:
> EAX=00000020 CS=0177 EIP=bff7b983 EFLGS=00010202
> EBX=0270f150 SS=017f ESP=0270f108 EBP=0270f120
> ECX=78037c48 DS=017f ESI=00000020 FS=47b7
> EDX=00000000 ES=017f EDI=00000000 GS=0000
> Bytes on CS:EIP:
> ,02x ,02x ,02x ,02x ,02x ,02x ,02x ,02x ,02x ,02x ,02x ,02x ,02x ,02x ,02x ,02x
> 
> Pile errors :
> ,08x ,08x ,08x ,08x ,08x ,08x ,08x ,08x ,08x ,08x ,08x ,08x ,08x ,08x ,08x ,08x
> 
> 
> i'm afraid that this is some kind of incompatibility bug, but i hope that it
> could be 
> repaired easily.
> 
> Hopping to help somehow, 

Does Systat create an XPORT file in the SAS format or in its own
format?  The read.xport function reads the SAS XPORT format.  We would
not expect it to read Systat files.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] read.xport bug of foreign pkg (PR#933)
Douglas Bates