[R] append to list
bram
a.l.w.kuijper at rug.nl
Fri Jun 19 00:09:41 CEST 2009
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 here:
http://tolstoy.newcastle.edu.au/R/help/05/02/12152.html
Unfortunately, the link containing the answer is broken.
Any tips?
Bram
More information about the R-help
mailing list