Re: [R-sig-phylo] ape prop.part error malloc(): memory corruption

2017-06-01 Thread Mario José Marques-Azevedo
Dears, I removed ape 4.1 and install 4.0 version and the problem with my tree is gone. I can extract clade even my tree having singletons. But the problem still occur in example tree, with new error message. With this tree: A_1,A_2,)A,(B1,B2,B3)B)C,D1))),(E1,E2)E)D),(F1)F)R; or

Re: [R-sig-phylo] ape prop.part error malloc(): memory corruption

2017-06-01 Thread Mario José Marques-Azevedo
Dear Eliot, Thank you for your answer! My tree is ok, but to plot is needed to collapse singles, as you said. I use ape/phytools to manipulate my tree for date it after with phylocom. Then, all node is important, including single one. For this, collapse singletons do not work for me. For

Re: [R-sig-phylo] ape prop.part error malloc(): memory corruption

2017-06-01 Thread Mario José Marques-Azevedo
Dear Klaus, Thank you for your answer and good news that ape/phangorn will load tree with singletons! Can I send the tree to your email? My problem with collapse.singles is, for instance, when I have only one genus/specie. I want the node name with genus and a tip name with species. When I

Re: [R-sig-phylo] ape prop.part error malloc(): memory corruption

2017-06-01 Thread Eliot Miller
Your Newick string is badly formatted. See: plot(t1) Error in plot.phylo(t1) : there are single (non-splitting) nodes in your tree; you may need to use collapse.singles() On Thu, Jun 1, 2017 at 1:31 AM, Mario José Marques-Azevedo < mariojm...@gmail.com> wrote: > Dears, > > I'm using