Problem with cat()

I think that implementing version of hcat/vcat which

  1. takes a vector of arrays,
  2. calculates the final size and type,
  3. does the copying

would be worthwhile.

Whether this could be a method of hcat etc is an API design question. IMO a different function name would be best, but perhaps someone can come up with a signature that would fit in nicely with existing ones.