[Rd] eigen()
Robin Hankin
r.hankin at noc.soton.ac.uk
Tue Jan 10 13:53:44 CET 2006
Hi
I am having difficulty with eigen() on R-devel_2006-01-05.tar.gz
Specifically, in R-2.2.0 I get expected behaviour:
> eigen(matrix(1:100,10,10),FALSE,TRUE)$values
[1] 5.208398e+02+0.000000e+00i -1.583980e+01+0.000000e+00i
[3] -4.805412e-15+0.000000e+00i 1.347691e-15+4.487511e-15i
[5] 1.347691e-15-4.487511e-15i -4.269863e-16+0.000000e+00i
[7] 1.364748e-16+0.000000e+00i -1.269735e-16+0.000000e+00i
[9] -1.878758e-18+5.031259e-17i -1.878758e-18-5.031259e-17i
>
The same command gives different results in the development version:
> eigen(matrix(1:100,10,10),FALSE,TRUE)$values
[1] 3.903094e-118 -3.903094e-118 -2.610848e-312 -2.995687e-313
-2.748516e-313
[6] -1.073138e-314 -1.061000e-314 -1.060998e-314 4.940656e-324
0.000000e+00
> R.version()
Error: attempt to apply non-function
> R.version
_
platform powerpc-apple-darwin8.3.0
arch powerpc
os darwin8.3.0
system powerpc, darwin8.3.0
status Under development (unstable)
major 2
minor 3.0
year 2006
month 01
day 04
svn rev 36984
language R
version.string Version 2.3.0 Under development (unstable) (2006-01-04
r36984)
>
Note the strange magnitude of the output.
[
I need this to work because one of my packages fails under R-devel
]
--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
tel 023-8059-7743
More information about the R-devel
mailing list