Sorry for re-posting, but the original one ended up inside a previous and unrelated thread. -- Matias
-----
Hello,
This simple SVD calculation (commands are copied
immediately below) crashes on my Ubuntu machine (R 2.13.0). However it
works fine on my Windows 7 machine, so I suspect there's a problem with
(my?) Ubuntu and / or R. Can anybody else reproduce it (with Ubuntu
11.04)? Thanks in advance.
p <- 500
n <- 300
set.seed(1234)
x <- matrix(rnorm(n*p), n, p)
sih <- var(x)
b <- svd(sih)
produces:
?*** caught illegal operation ***
address 0x42b8c9, cause 'illegal operand'
Traceback:
?1: .Call("La_svd", jobu, jobv, x, double(min(n, p)), u, v, "dgsedd",???? PACKAGE = "base")
?2: La.svd(x, nu, nv)
?3: svd(sih)
I'm using Ubuntu 11.04 and