Skip to content
Prev 1663 / 3656 Next

make check reg-tests-1b.R fails with Ubuntu R

Andrew,

Crossprod etc all dispatch to BLAS / LAPACK.  The error appears to be that
z[1,3] is 0 whereas a NA gets expected.

I just verified this on another 32bit box where I had stock R and little
else:
[,1] [,2] [,3]
[1,]   NA   NA    0
[2,]    2    1    0
[1] FALSE
but all it takes is 

wajig install libatlas3gf-base

after which we get 

dd at chibud:~$ R

R version 2.13.1 (2011-07-08)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i686-pc-linux-gnu (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
[,1] [,2] [,3]
[1,]   NA   NA   NA
[2,]    2    1    0
[1] TRUE
So try installing 'a better BLAS'.  Maybe we can distill this into a pure C
program exhibiting the same issue and bring it to the BLAS maintainer?

Dirk