Re: [Rd] simplify2array edge case

2012-10-19 Thread Martin Maechler
> William Dunlap > on Thu, 11 Oct 2012 18:59:52 + writes: > Should simplify2array(higher=TRUE) treat 1 by 1 matrices differently than others? > I expected a 3-dimensional array from all of the following 3 examples, not just the last 2. >> str(simplify2array(list(arr

[Rd] simplify2array edge case

2012-10-11 Thread William Dunlap
Should simplify2array(higher=TRUE) treat 1 by 1 matrices differently than others? I expected a 3-dimensional array from all of the following 3 examples, not just the last 2. > str(simplify2array(list(array(11,c(1,1)), array(21,c(1,1))), higher=TRUE)) num [1:2] 11 21 > str(simplify2array(l