[Rd] Table Command (PR#1182)

mdesai@biostat.cpmc.columbia.edu mdesai@biostat.cpmc.columbia.edu
Tue, 27 Nov 2001 22:28:30 +0100 (MET)


Thank you.  Yes, my systems administrator has just confirmed that he used
maximum optimization when compiling R.  Problem (most probably) solved.

Manisha

On Tue, 27 Nov 2001, Prof Brian Ripley wrote:

> Did this system pass make check?
>
> I believe this happens if you use aggresive optimizations under the SunPro
> compiler, which do not respect IEEE arithmetic and do fail make check.
> In particular, avoid -fast.
>
>
> On Tue, 27 Nov 2001, Manisha Desai wrote:
>
> >
> > Thanks for your response.  Here is some information on my system.  I will
> > speak with my systems administrator if the problem is not obvious.
> >
> > Manisha
> >
> > > version
> >          _
> > platform sparc-sun-solaris2.8
> > arch     sparc
> > os       solaris2.8
> > system   sparc, solaris2.8
> > status
> > major    1
> > minor    3.0
> > year     2001
> > month    06
> > day      22
> > language R
> >
> >
> >
> > On 27 Nov 2001, Peter Dalgaard BSA wrote:
> >
> > > mdesai@biostat.cpmc.columbia.edu writes:
> > >
> > > > Full_Name: Manisha Desai
> > > > Version: 1.3.0
> > > > OS: UNIX
> > > > Submission from: (NULL) (156.111.36.213)
> > > >
> > > >
> > > > There may be a bug in the table command.
> > > > The value of 0 does not appear to show up (at least in this version of R).
> > > > The following is an example:
> > > >
> > > > > blah<-c(rep(1,100),rep(0,100))
> > > > > table(blah)
> > > >
> > > > Gives the following:
> > > >
> > > > blah
> > > >   1
> > > > 100
> > > >
> > > > Doing a summary shows that blah does contain values of 0.
> > > >
> > > > > summary(blah)
> > > >    Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
> > > >     0.0     0.0     0.5     0.5     1.0     1.0
> > >
> > > Doesn't happen on any version of "UNIX" that I have access to. I think
> > > we had a report once where something like that was caused by an
> > > incorrect compiler (or compiler flag). We need to have full
> > > information on your system and build to do anything about it.
> > >
> > > To wit (Solaris 7, R-1.3.1)
> > >
> > > > blah<-c(rep(1,100),rep(0,100))
> > > > table(blah)
> > > blah
> > >   0   1
> > > 100 100
> > >
> > >
> > > --
> > >    O__  ---- Peter Dalgaard             Blegdamsvej 3
> > >   c/ /'_ --- Dept. of Biostatistics     2200 Cph. N
> > >  (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
> > > ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
> > >
> >
> > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> > 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._