[R-SIG-Mac] R, ape, and read.nexus()

Timothy Dickinson t|m@d|ck|n@on @end|ng |rom utoronto@c@
Mon Sep 2 04:05:44 CEST 2019


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]]



More information about the R-SIG-Mac mailing list