I would suggest seeing if you can use the `lapply` or `sapply` function, that way most of the details of creating the object are taken care of for you. If you want the list named then you can use the `names` or `setNames` function, or the "USE.NAMES" argument to `sapply`.
On Thu, Jul 4, 2013 at 6:43 AM, Alex van der Spek <do...@xs4all.nl> wrote: > >> I often find myself (wanting t)o constructing lists or > >> data.frames > > > > Apologies; previous post should have said "Read R inforno on 'Growing > > Objects'" and should have added the URL: > > > > http://www.burns-stat.com/pages/Tutor/R_inferno.pdf > > > > S Ellison > > > > > > > > ******************************************************************* > > This email and any attachments are confidential. Any use...{{dropped:8}} > > > > ______________________________________________ > > 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. > > > > Thank you! That was very helpful. The R-Inferno pdf makes nice reading too! > > ______________________________________________ > 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. > -- Gregory (Greg) L. Snow Ph.D. 538...@gmail.com [[alternative HTML version deleted]] ______________________________________________ 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.