[R] zeros in table() output in version 1.3.1

Mark Myatt mark at myatt.demon.co.uk
Wed Oct 24 10:54:50 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
>
>Version 1.3.0:
> 
>> table(c(0,1),c(0,1))
>   
>    0 1
>  0 1 0
>  1 0 1

Odd. 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list