[R] R crashes trying to read a data.frame

Renaud Lancelot renaud.lancelot at cirad.fr
Sat May 4 18:34:03 CEST 2002


Many thanks to Prs Ripley and Dalgaard who identified the problem. I
extracted MSVCRT.DLL (as well as MSVCRT20.DLL and MSVCRT40.DLL) and put
it in ...\rw1050\bin as indicated in rw-FAQ Q2.14.
I also installed Dr. Mingw
(http://mefriss1.swan.ac.uk/~jfonseca/gnu-win32/software/drmingw/index.html)
as suggested by Pr Ripley.

The problem is still here but at least, I know why:

RGUI.EXE caused an Access Violation at location 7801447b in module
MSVCRT.DLL Reading from location 0092ff7e.

Registers:
eax=0093007a ebx=04a85f8d ecx=ffffff82 edx=8194a07c esi=00000005
edi=00000000
eip=7801447b esp=0091e818 ebp=0091e844 iopl=0         nv up ei pl zr na
po nc
cs=0167  ss=016f  ds=016f  es=016f  fs=3f77  gs=0000            
efl=00010246

Call stack:
7801447B  MSVCRT.DLL:7801447B  isprint
00482821  R.DLL:00482821  Rf_formatString
004DC514  R.DLL:004DC514  xerbla_
[snip]

I also deleted and rewrote the presumed faulty line in the database, but
it did not change anything... I'll change my OS asap !

Thanks again and best regards,

Renaud

ripley at stats.ox.ac.uk wrote:
> 
> On Sat, 4 May 2002, Renaud Lancelot wrote:
> 
> > Dear John,
> >
> > Thanks for your reply. I am afraid it's a problem with some Windows 98
> > dll. Do you know how I can check it ?
> 
> The only DLL that is at all likely to be involved in msvcrt.dll, but when
> you get a crash you should get a dialog telling you in which DLL this
> occurred.  (If not you might need to install a `Dr Watson' clone such as
> DrMingw: don't ask for further elucidation as this has always worked for
> me, even on Windows 95.)
> 
> Looking at this on Windows 2000, you have a character (octal 202) in
> temp[93, 6] that does not reproduce here.  That is exactly the point in
> the rw-FAQ Q2.14 about msvcrt.dll and crashes!
> 
> I suspect this is an error in your file.
> 
> --
> Brian D. Ripley,                  ripley at 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

-- 
Dr Renaud Lancelot, vétérinaire
CIRAD, Département Elevage et Médecine Vétérinaire (CIRAD-Emvt)
Programme Productions Animales
http://www.cirad.fr/presentation/programmes/prod-ani.shtml

ISRA-LNERV                      tel    (221) 832 49 02
BP 2057 Dakar-Hann              fax    (221) 821 18 79 (CIRAD)
Senegal                         e-mail renaud.lancelot at cirad.fr
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list