Run »
thisarray <- c(1:24) multiarray <- array(thisarray, dim = c(4, 3, 2)) dim(multiarray)
[1] 4 3 2