Re: [Rd] surprised matrix (1:256, 8, 8) doesn't cause error/warning

2021-02-01 Thread /əˈbi/
So, does that mean that a clean result is contingent on the length of the data being a multiple of both the number of rows and columns? However, this rule is not straightforward. > #EXAMPLE 1 > #what I would expect > matrix (1:12, 0, 0) <0 x 0 matrix> Warning message: In matrix(1:12, 0, 0) : data

Re: [Rd] surprised matrix (1:256, 8, 8) doesn't cause error/warning

2021-02-01 Thread Martin Maechler
> Abby Spurdle (/əˈbi/) > on Mon, 1 Feb 2021 19:50:32 +1300 writes: > I'm a little surprised that the following doesn't trigger an error or a warning. > matrix (1:256, 8, 8) > The help file says that the main argument is recycled, if it's too short. > But doesn't say