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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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)Why are you calling anova.glm on an object of class c("aovlist", "listof")? Also, why give the data = kk argument to anova.glm (which does not have such an argument)? I have no idea what you intended, but there is no anova method for a multistratum aov fit. I suggest you look at the print and summary methods.> # 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!All text files are strings. It is a column of integer numbers, and so is converted to an integer variable in R. If you wanted something different, read ?read.table and set colClasses. -- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._