if M is a `ddmatrix` this will fail: M[1:10, 1:10] <- M[1:10, 1:10] The case where i and j are provided is not implement in `setReplaceMethod("[", ...)` line 224 of `ddmatrix_[.r`