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

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Oct 26 18:52:28 CEST 2001


On Fri, 26 Oct 2001, Steve Shiboski wrote:

> It turns out to be associated with the compilation flags
> I put in the config.site file for the Sun C compiler.
> Recompiling with the default flags chosen by R eliminates
> the problem.
>
> I put the following flags in config.site before building:
>
>  CFLAGS=-fast
>  SHLIB_CFLAGS=-lsunmath
>  CPICFLAGS=-xcode=pic32
>
> Not sure which caused the problem with table(), but
> R's defaults eliminate -fast, -xcode=pic32 and -lsunmath.

-fast disables IEEE 754 arithmetic. For me R fails make check with that.
(You did run make check, didn't you ...?)

I use -xO5 -xlibmil -dalign (some libraries need -dalign), and f90 which
picks up -lsunmath too.

-- 
Brian D. Ripley,                  ripley at 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-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