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

2019-09-01 Thread Ken Beath
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  
> 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@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2019-09-01 Thread Timothy Dickinson
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