search for: r51389

Displaying 1 result from an estimated 1 matches for "r51389".

Did you mean: r51089
2010 Apr 05
1
strange behavior of matrix
...s <- 1:2 s[s] #which works as one would expect. Or, using the array function we get the same problem. > s <- array(1:2,dim=c(1,2)) > s[s] [1] 2 > s <- array(1:2,dim=c(2,1)) > s[s] [1] 1 2 > sessionInfo() R version 2.11.0 Under development (unstable) (2010-03-24 r51389) i386-apple-darwin9.8.0 locale: [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] psych_1.0-87 > I think this is unexpected behavior. Best wishes, Bill -- Will...