> a <- disord(1:4)
> a
A disord object with hash 973fab30f5c177d6692176fc5229c843fb7494ba and elements
[1] 1 2 3 4
(in some order)
> a[] <- c(7,7,7,7)
Error in .local(x, i = i, j = j, ..., value) :
length(value) == 1 is not TRUE
>
Above we would expect a to become a vector of 7's. But it returns an error.
Above we would expect
a
to become a vector of7
's. But it returns an error.