[R] mysterious error on compile R 2.3.1

Peter Dalgaard p.dalgaard at biostat.ku.dk
Wed Sep 20 21:38:59 CEST 2006


Dylan Beaudette <dylan.beaudette at gmail.com> writes:

> Getting a very strange error with a new install of R from source on x86;
> 
> make[3]: Leaving directory `/tmp/R.INSTALL.r20887/cluster/src'
> ** R
> ** data
> **  moving datasets to lazyload DB
> Error in factor(c(1, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1),  : 
>         invalid labels; length 2 should be 1 or 1
> Execution halted
> ERROR: lazydata failed for package 'cluster'
> ** Removing '/home/dylan/src/R-2.3.1/library/cluster'
> make[2]: *** [cluster.ts] Error 1
> make[2]: Leaving directory `/home/dylan/src/R-2.3.1/src/library/Recommended'
> make[1]: *** [recommended-packages] Error 2
> make[1]: Leaving directory `/home/dylan/src/R-2.3.1/src/library/Recommended'
> make: *** [stamp-recommended] Error 2
> 
> note that i am using the GCC flags:
> CFLAGS=-march=opteron -ffast-math
> CXXFLAGS=-march=opteron -ffast-math
> 
> any ideas?

Don't do that.... 

Seriously!

-ffast-math will allow the compiler to break IEEE math specifications,
 which in turn will break R all over the place.


-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



More information about the R-help mailing list