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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to