I an aware of the Partition
command which partitions a list into sublists. I'm curious as to whether there is an efficient way to partition a list several times over in one step. For example, can I turn the list
{1,2,3,4,5,6,7,8}
into the list
{{{1,2},{3,4}},{{5,6},{7,8}}}
through one use of the Partition
command instead of two (or indeed any command). In actual fact, I'll be going to a list of many levels of nested lists, which is why I'm keen to know the answer. Thanks in advance for any help.