From ripley@stats.ox.ac.uk  Fri Jun 15 07:48:50 2001
From: ripley@stats.ox.ac.uk (ripley@stats.ox.ac.uk)
Date: Fri, 15 Jun 2001 08:48:50 +0200 (MET DST)
Subject: [Rd] read.xport() bug (PR#981)
Message-ID: <200106150648.IAA19216@pubhealth.ku.dk>

All packages have a version number, in their DESCRIPTION file or via

package.description("foreign")$Version

I suspect this is 0.4-3, but please confirm.

We do need a reproducible example to make any sense of this bug report, and
for that we need fdt.tpt.  Could you please attach that file to your reply.


On Fri, 15 Jun 2001 abroman@jhu.edu wrote:

> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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)
ripley@stats.ox.ac.uk