I have repeatedly been encountering a problem reading into R nexus files that I created in PAUP* 4.0a. I use the savetrees command in PAUP in order to get rid of edge lengths in .tre files received from my collaborator. This is useful to me since I thought I could edit things like tree and tip labels in the nexus file. But even without modifying the file exported by PAUP, I encounter this error message when I try to read the file into R (3.6.0 running on a Mac under OS 10.12.6). The Translate block has 26 labels, for the 26 taxa.
> read.nexus("CDS_loci.treefile244.nex") 244 phylogenetic trees Warning message: In matrix(x, ncol = 2, byrow = TRUE) : data length [51] is not a sub-multiple or multiple of the number of rows [26] > Any suggestions as to what the problem might be would be most welcome. Thank you, ---tad. [[alternative HTML version deleted]] _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac