Open clarkfitzg opened 8 years ago
Also seems to be an issue with darrays.
>
> m1 = matrix(1:20, nrow=4)
> rbind(m1, m1)
[,1] [,2] [,3] [,4] [,5]
[1,] 1 5 9 13 17
[2,] 2 6 10 14 18
[3,] 3 7 11 15 19
[4,] 4 8 12 16 20
[5,] 1 5 9 13 17
[6,] 2 6 10 14 18
[7,] 3 7 11 15 19
[8,] 4 8 12 16 20
> dm1 = as.darray(m1, psize = c(2, 5))
> dm1
ddR Distributed Object
Type: darray
# of partitions: 2
Partitions per dimension: 2x1
Partition sizes: [2, 5], [2, 5]
Dim: 4,5
Backend: parallel
> rbind(dm1, dm1)
Error in do_dmapply(ddR.env$driver, func = match.fun(FUN), ..., MoreArgs =
MoreArgs, :
Adjacent partitions have different number of columns, should be 5
>
This works fine in base R.