[R] zeros in table() output in version 1.3.1
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Tue Oct 23 21:35:24 CEST 2001
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
That'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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list