[R] list of complex objects?

Erik Iverson eriki at ccbr.umn.edu
Wed May 26 06:34:06 CEST 2010


Nick Matzke wrote:
> Hi all,
> 
> If I would like to make a list of complex objects -- in my case, 
> phylogenetic trees, but it could be e.g. statistical results from 
> something like lm, or whatever -- how can I put them into a list?
> 
> When I try the obvious methods, e.g. cat, append, list, etc., I seem to 
> get weird behaviors where R is trying to merge the subfields within the 
> objects or something.
> 
> Any help much appreciated.  Cheers!!
> Nick
> 
> 
Perhaps you can give us a reproducible example that shows

a) what you tried
b) what happened
c) what you expected to happen



More information about the R-help mailing list