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

Ken Beath ken @end|ng |rom kjbe@th@com@@u
Mon Sep 2 04:14:17 CEST 2019


That looks like a package issue, so I would contact the author. Some authors can be very helpful.

Ken

> On 2 Sep 2019, at 12:05 pm, Timothy Dickinson <tim.dickinson using utoronto.ca> wrote:
> 
> 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 using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 



More information about the R-SIG-Mac mailing list