Re: [R] operating on arrays of unknown dimensionality

2008-08-08 Thread Charles C. Berry
On Fri, 8 Aug 2008, Vadim Organovich wrote: Dear R-users, I am looking for a way to assign to slices of arrays where dimensionality of the array is not a-priory known. Specifically, I would like to be able to generalize the following example of dimensionality 2 to an arbitrary diminsionality

[R] operating on arrays of unknown dimensionality

2008-08-08 Thread Vadim Organovich
Dear R-users, I am looking for a way to assign to slices of arrays where dimensionality of the array is not a-priory known. Specifically, I would like to be able to generalize the following example of dimensionality 2 to an arbitrary diminsionality: In this example we create an array x, a smal