Are the following differences in table() output between versions 1.3.0 and 1.3.1 a feature, a bug or a problem with my implementation? (I am running under Solaris 2.7 SPARC, built using the Sun C and FORTRAN compilers.) Version 1.3.1:> table(c(0,1),c(0,1))1 1 1 Version 1.3.0:> table(c(0,1),c(0,1))0 1 0 1 0 1 0 1 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Steve Shiboski <steve at biostat.ucsf.edu> writes:> Are the following differences in table() output > between versions 1.3.0 and 1.3.1 a feature, a bug > or a problem with my implementation? > > (I am running under Solaris 2.7 SPARC, built using the > Sun C and FORTRAN compilers.) > > Version 1.3.1: > > > table(c(0,1),c(0,1)) > > 1 > 1 1That'll be a bug, but it is not there when R is built with GNU tools:> table(c(0,1),c(0,1))0 1 0 1 0 1 0 1> version_ platform sparc-sun-solaris2.7 arch sparc os solaris2.7 system sparc, solaris2.7 status major 1 minor 3.1 year 2001 month 08 day 31 language R -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Steve Shiboski <steve at biostat.ucsf.edu> writes:>Are the following differences in table() output >between versions 1.3.0 and 1.3.1 a feature, a bug >or a problem with my implementation? > >(I am running under Solaris 2.7 SPARC, built using the >Sun C and FORTRAN compilers.) > >Version 1.3.1: > >> table(c(0,1),c(0,1)) > > 1 > 1 1 > >Version 1.3.0: > >> table(c(0,1),c(0,1)) > > 0 1 > 0 1 0 > 1 0 1Odd. I don't get this behaviour on my Windows box. I think that, perhaps, it is down to how the binary was compiled. Did you use the Sun tools or the GNU tools? Mark -- Mark Myatt -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._