On 06/12/2012 15:32, William Dunlap wrote:
Ordinary functions should not alter their inputs but in R-2.15.2
svd(LINPACK=TRUE,X) does. (It worked in 2.15.0 but not in 2.15.1
or 2.15.2 and became deprecated in 2.15.2.)
But not in R-devel. I'll backport the difference.
X <- matrix(c(1,2,3, 5,7,11, 13,17,19), 3, 3)
X
[,1] [,2] [,3]
[1,] 1 5 13
[2,] 2 7 17
[3,] 3 11 19
svd(X, LINPACK=TRUE)$d
[1] 31.9718214 2.3882717 0.3143114
Warning message:
In svd(X, LINPACK = TRUE) : LINPACK = TRUE is deprecated
X
[,1] [,2] [,3]
[1,] 1.2672612 -13.8975846 -27.7951692
[2,] 0.5345225 1.0945920 2.1072825
[3,] 0.8017837 0.9955161 -0.9794695
version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 2
minor 15.2
year 2012
month 10
day 26
svn rev 61015
language R
version.string R version 2.15.2 (2012-10-26)
nickname Trick or Treat
sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
--
Brian D. Ripley, rip...@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel