Re: [Rd] formatting of complex matrix

2016-03-19 Thread Duncan Murdoch
On 18/03/2016 6:09 AM, Lukas Stadler wrote: While working on the printing code, my colleague Zbyněk Šlajchrt noticed that complex matrixes are sometimes misaligned: { matrix(1i,2,13) } [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [1,] 0+1i 0+1i 0+1i 0+1i 0+1i 0+1

[Rd] formatting of complex matrix

2016-03-19 Thread Lukas Stadler
While working on the printing code, my colleague Zbyněk Šlajchrt noticed that complex matrixes are sometimes misaligned: > { matrix(1i,2,13) } [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [1,] 0+1i 0+1i 0+1i 0+1i 0+1i 0+1i 0+1i 0+1i 0+1i 0+1i 0+1i 0+1i 0+1i [2,] 0+1i