Crashing R (PR#1651)

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Tue, 11 Jun 2002 09:49:18 +0200 (MET DST)


I can't reproduce the crash on Linux, nor using rterm on Windows.
With Rgui on Windows it seems due to the over-long error message that is
generated (15880 characters) as a single line.

There was a bug report (PR 902 on problems) with over-long warnings.
That was solved long ago, but there is no guarantee that the display
system will accept them.  Perhaps warning() should truncate them.

On Mon, 10 Jun 2002 rjvbertin@hotmail.com wrote:

>
> Concerns: R 1.5.0 gui version, Windows (downloaded binary) and Linux
> (installed from sources).
>
> # Load the data from the attached file:
> kk<-read.table("__filename__", header=1)
> # attach the data:
> attach(kk)
> Snr<-factor(Snr)
> # fool around with a call to anova.glm():
> anova.glm( aov( nFD~Type+size+Modality+Error(Snr/(Type+size+Modality)) ) )
> # Error: object nFD not found
> # Well, I thought I had attached that. Anyway:
> anova.glm(aov( nFD~Type+size+Modality+Error(Snr/(Type+size+Modality))),
> data=kk)
> # Same message
> # In addition, warning message:
> <lots of output>
> R dumps core. On Windows, it crashes in <unknown module>.
>
> Also not that the 1st (Snr) column is not automatically converted in a
> factor, despite the fact that it consists of strings!
>
> RenE J.V. Bertin
> College de France/LPPA
> 11, place Marcelin Berthelot
> 75005 Paris, France
>
> >From list moderator:
>      formerly binary attached dataset is now available
>      as  http://rjvbertin.free.fr/PR1651data.tab
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._