[R-SIG-Mac] eigen() with complex matrices

Robin Hankin r.hankin at noc.soton.ac.uk
Thu Feb 22 11:25:46 CET 2007


I just now get a bus error with R-2.4.1[Universal binary downloaded
from CRAN just now], and also with (recently compiled) R-2.5.0.
I have Xcode 2.4.1.

Under R-2.4.1:

octopus:~/scratch% R --vanilla

R version 2.4.1 (2006-12-18)
Copyright (C) 2006 The R Foundation for Statistical Computing
ISBN 3-900051-07-0


'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

 > A <- matrix(c(1,0.2+0.1i,0.2-0.1i,1),2,2)
 > eigen(A)

*** caught bus error ***
address 0x1, cause 'invalid alignment'

1: .Call("La_rs_cmplx", x, only.values, PACKAGE = "base")
2: eigen(A)

Possible actions:
1: abort (with core dump)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace

the same thing happens with R-2.5.0


Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
  tel  023-8059-7743

More information about the R-SIG-Mac mailing list