From abroman@jhu.edu  Thu Jun 14 23:25:57 2001
From: abroman@jhu.edu (abroman@jhu.edu)
Date: Fri, 15 Jun 2001 00:25:57 +0200 (MET DST)
Subject: [Rd] read.xport() bug (PR#981)
Message-ID: <200106142225.AAA17768@pubhealth.ku.dk>

Full_Name: Aimee Teo Broman
Version: 1.23
OS: Windows 98
Submission from: (NULL) (162.129.145.115)


When I use the read.xport() function in the foreign library, the Rgui shuts
down.   My xport file was created in SAS ver.6, using the xport engine in proc
copy. 

R commands:
1. library(foreign)
2. lookup.xport("fdt.tpt")  <-- this works fine.
3. read.xport("fdt.tpt")  <-- this produces a window that says "This program has
performed an illegal operation and will be shut down."  The details are shown
below:

RGUI caused an invalid page fault in
module FOREIGN.DLL at 017f:14c727e7.
Registers:
EAX=00000000 CS=017f EIP=14c727e7 EFLGS=00010246
EBX=034a1320 SS=0187 ESP=0270f404 EBP=0270f46c
ECX=00000000 DS=0187 ESI=00000006 FS=1847
EDX=034a1338 ES=0187 EDI=034a1335 GS=0000
Bytes at CS:EIP:
c6 00 00 83 c4 fc 83 c4 10 39 d8 75 09 a1 48 02 
Stack dump:
034a1320 00000020 034b5a50 78037ce8 02c5cf68 00000002 0270f4ac 004250ae 00585140
02c5c728 0270f46c 00000079 00000001 0348c150 0348e9d0 78037ce8 

The date on the foreign.zip file is 18-May-2001, so I believe I have the most
recent version of both R and the foreign package.  I would call this an
intermittant problem, except that I have this problem more frequently than not.
Yesterday it was working, but today it is shutting down the gui again.  Any help
would be appreciated.

thanks much,
Aimee Broman

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 (PR#981)
abroman@jhu.edu