Re: [R-sig-phylo] Force read.nexus() to return a multiPhylo object, even if there is only one tree

2016-12-28 Thread Liam J. Revell
Ahhh. I see. I missed the part in Yan's original email about the names. All the best, Liam Liam J. Revell, Associate Professor of Biology University of Massachusetts Boston web: http://faculty.umb.edu/liam.revell/ email: liam.rev...@umb.edu blog: http://blog.phytools.org On 12/28/2016 6:45 AM,

Re: [R-sig-phylo] Force read.nexus() to return a multiPhylo object, even if there is only one tree

2016-12-28 Thread Emmanuel Paradis
Hi Liam, Actually, this can be done with c(): R> tr <- rtree(10) R> c(tr) 1 phylogenetic trees With respect to Yan's initial query, this will not restore the tree name from the NEXUS file which is (currently) lost if there is a single tree. Best, Emmanuel Le 28/12/2016 à 03:11, Liam J. Rev