[R-SIG-Mac] Math bug in Mavericks build
peter dalgaard
pdalgd at gmail.com
Wed Apr 23 10:51:06 CEST 2014
Dunno if it helps anyone, but a check of local builds lying around shows the issue in
R version 3.0.2 Patched (2013-11-19 r64260) -- "Frisbee Sailing"
but NOT in
R Under development (unstable) (2013-11-11 r64196) -- "Unsuffered Consequences"
So, it seems that either we introduced a change during that period or the build tools changed. Those builds might not be entirely clean, though.
As for C compiler, my current setup has
Peters-iMac:~ pd$ ls -l `which gcc`
-rwxr-xr-x 1 root wheel 14224 Oct 29 18:10 /usr/bin/gcc
Peters-iMac:~ pd$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
On 23 Apr 2014, at 08:39 , Dan Tenenbaum <dtenenba at fhcrc.org> wrote:
> Hello Simon & Co.,
>
> On R-3.1.0, Mavericks build:
>
>> 1980000020L + 222000000L
> [1] -2092967276
>
> On R-3.1.0, Snow Leopard build:
>
>> 1980000020L + 222000000L
> [1] NA
> Warning message:
> In 1980000020L + 222000000L : NAs produced by integer overflow
>
> A bug, perhaps?
>
> Mavericks sessionInfo():
>
> R version 3.1.0 (2014-04-10)
> Platform: x86_64-apple-darwin13.1.0 (64-bit)
>
> locale:
> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> Snow Leopard sessionInfo():
>
> R version 3.1.0 (2014-04-10)
> Platform: x86_64-apple-darwin10.8.0 (64-bit)
>
> locale:
> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> Thanks,
> Dan
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
More information about the R-SIG-Mac
mailing list