From Simon.Fear at synequanon.com  Wed Jun 11 14:10:04 2003
From: Simon.Fear at synequanon.com (Simon.Fear@synequanon.com)
Date: Wed Jun 11 23:39:45 2003
Subject: [Rd] scan() crash in Windows 98 (PR#3234)
Message-ID: <200306111110.h5BBA42b018129@pubhealth.ku.dk>

# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
#       r-bugs@r-project.org
#
######################################################



scan() (and so also of course read.table, read.csv etc) crashes right
out of
R (GUI)
if it encounters non-ASCII characters (my particular example was a
superscript 2
which is OK in MS applications (even in Notepad this is OK: BMI*
(kg/m)).

For example

read.csv("d:\\table03.csv",colClasses="character")

generates

"This program has performed an illegal operation and will be shut down
..."

and the details says

RGUI caused an invalid page fault in
module R.DLL at 0167:004f3b67.
Registers:
EAX=0098007a CS=0167 EIP=004f3b67 EFLGS=00010246
EBX=01d97e92 SS=016f ESP=0096e140 EBP=0096e158
ECX=ffffffb2 DS=016f ESI=0000000a FS=3baf
EDX=01fbd5b2 ES=016f EDI=00000000 GS=0000
Bytes at CS:EIP:
66 8b 04 48 25 57 01 00 00 25 ff ff 00 00 eb 9f 
Stack dump:
000c0000 00000001 00966000 00000013 0000000b 00000000 0096e188 0048dd2f
01d97e88 00000000 01fbd5cc 01fbd5cc 000c0000 00000004 0000000d 00000001 

which certainly meeans nothing at all to me!

Simon Fear


--please do not edit the information below--

Version:
 platform = i386-pc-mingw32
 arch = i386
 os = mingw32
 system = i386, mingw32
 status = 
 major = 1
 minor = 7.0
 year = 2003
 month = 04
 day = 16
 language = R

Windows 98 SE 4.10 (build 2222)  A 

Search Path:
 .GlobalEnv, package:methods, package:ctest, package:mva,
package:modreg,
package:nls, package:ts, Autoloads, package:base
 

Simon Fear
Senior Statistician
Syne qua non Ltd
Tel: +44 (0) 1379 644449
Fax: +44 (0) 1379 644445
email: Simon.Fear@synequanon.com
web: http://www.synequanon.com
 
Number of attachments included with this message: 0
 
This message (and any associated files) is confidential and 
contains information which may be legally privileged.  It is 
intended for the stated addressee(s) only.  Access to this 
email by anyone else is unauthorised.  If you are not the 
intended addressee, any action taken (or not taken) in 
reliance on it, or any disclosure or copying of the contents of 
it is unauthorised and unlawful.  If you are not the addressee, 
please inform the sender immediately and delete the email 
from your system.

This message and any associated attachments have been 
checked for viruses using an internationally recognised virus 
detection process.  However, Internet communications cannot 
be guaranteed to be secure or error-free as information could 
be intercepted, corrupted, lost, destroyed, arrive late or 
incomplete. Therefore, we do not accept responsibility for any 
errors or omissions that are present in this message, or any 
attachment, that have arisen as a result of e-mail transmission.  
If verification is required, please request a hard-copy version. 
Any views or opinions presented are solely those of the author 
and do not necessarily represent those of Syne qua non.


[Rd] scan() crash in Windows 98 (PR#3234)
Simon.Fear@synequanon.com