"hadley wickham" <[EMAIL PROTECTED]> writes:
> That's rather a contrived example. In practice, you would create a
> list containing the same type of objects. eg:
Yes, great. But when you have code that is expecting a matrix
argument, you can't know what you are going to get. I suspect there
is
On 4/10/07, Seth Falcon <[EMAIL PROTECTED]> wrote:
> "hadley wickham" <[EMAIL PROTECTED]> writes:
>
> > On 4/10/07, Tony Plate <[EMAIL PROTECTED]> wrote:
> >> Aren't you just seeing the effect of drop=TRUE? (at least with the
> >> examples you give below -- they all pick out a submatrix with extent
On 4/10/07, hadley wickham <[EMAIL PROTECTED]> wrote:
> On 4/10/07, Tony Plate <[EMAIL PROTECTED]> wrote:
> > Aren't you just seeing the effect of drop=TRUE? (at least with the
> > examples you give below -- they all pick out a submatrix with extent one
> > on some dimension)
> >
> > AFAICT, matric
"hadley wickham" <[EMAIL PROTECTED]> writes:
> On 4/10/07, Tony Plate <[EMAIL PROTECTED]> wrote:
>> Aren't you just seeing the effect of drop=TRUE? (at least with the
>> examples you give below -- they all pick out a submatrix with extent one
>> on some dimension)
>>
>> AFAICT, matrices with a lis
hadley wickham wrote:
> On 4/10/07, Tony Plate <[EMAIL PROTECTED]> wrote:
>> Aren't you just seeing the effect of drop=TRUE? (at least with the
>> examples you give below -- they all pick out a submatrix with extent one
>> on some dimension)
>>
>> AFAICT, matrices with a list as the underlying data
On 4/10/07, Tony Plate <[EMAIL PROTECTED]> wrote:
> Aren't you just seeing the effect of drop=TRUE? (at least with the
> examples you give below -- they all pick out a submatrix with extent one
> on some dimension)
>
> AFAICT, matrices with a list as the underlying data work properly, e.g.:
>
> >
Aren't you just seeing the effect of drop=TRUE? (at least with the
examples you give below -- they all pick out a submatrix with extent one
on some dimension)
AFAICT, matrices with a list as the underlying data work properly, e.g.:
> vv <- array(as.list(1:12), 3:4)
> vv
[,1] [,2] [,3] [