Re: [R] append to list

2009-06-18 Thread David Winsemius
On Jun 18, 2009, at 6:09 PM, bram wrote: Hi all, how can I effectively add new objects to a list of which the eventual length is unknown? I have been using something like mylist[[length(mylist)+1]] = newobject but I wonder if there is something better. this question might look familiar.

Re: [R] append to list

2009-06-18 Thread Gabor Grothendieck
Perhaps it was this: https://stat.ethz.ch/pipermail/r-help/2005-January/063530.html On Thu, Jun 18, 2009 at 6:09 PM, bram wrote: > Hi all, > > how can I effectively add new objects to a list of which the eventual length > is unknown? > > I have been using something like > > mylist[[length(mylist)

[R] append to list

2009-06-18 Thread bram
Hi all, how can I effectively add new objects to a list of which the eventual length is unknown? I have been using something like mylist[[length(mylist)+1]] = newobject but I wonder if there is something better. this question might look familiar. It is the same question as has been asked h