I'm trying to calculate the cophenetic distance by R function cophentic from a phylogenetic tree (with size 16.8MB, generated by package V.phylomaker2), and the RStudio raise the error: "Error in dist.nodes(x) : tree too big", as the picture shows. How can I solve it? Or is there any other method to calculate NRI when the tree is too big(I'm using the function "ses_mpd" from package "picante") ?
Thanks a lot!