Re: [Rd] Field initialization order bug?

2007-07-17 Thread Daniel Wilhelm
Thank you all for clarifying that bug in my understanding! I suppose that I expected 'a' to be promoted to a list when indexed from NULL. I will be more judicious in the future when I post. Daniel Wilhelm >On Mon, 16 Jul 2007, Daniel Wilhelm wrote: > >>I believe that

[Rd] Field initialization order bug?

2007-07-17 Thread Daniel Wilhelm
uot;]] <- matrix(c(2,1), 1) Error in a[["field2"]] <- matrix(c(2, 1), 1) : more elements supplied than there are to replace Yet, this works as expected: a <- NULL a[["field2"]] <- matrix(c(2,1), 1) a[["field1"]] <- 1 Daniel Wilhelm __