Re: [R-sig-phylo] need finite 'xlim' values error with plot.phylo

2017-06-13 Thread Liam Revell
This is a bug that is related to how the function optimizes xlim to permit space for the tip labels. By not showing tip labels, there is no optimization, and thus no error. This doesn�t seem to create an issue for plotTree in phytools, which has many of the same options (and some additional

Re: [R-sig-phylo] need finite 'xlim' values error with plot.phylo

2017-06-13 Thread Santiago Sánchez
Thanks, Liam! On Tue, Jun 13, 2017 at 12:48 PM Liam Revell wrote: > This is a bug that is related to how the function optimizes xlim to permit > space for the tip labels. By not showing tip labels, there is no > optimization, and thus no error. > > > > This doesn’t seem to

[R-sig-phylo] need finite 'xlim' values error with plot.phylo

2017-06-13 Thread Santiago Sánchez
Hello, I was wondering if there could be a bug in the plot.phylo code. I'm trying to plot a tree which is scaled in yr units (less than 1 million years). However I'm getting this error: Error in plot.window(...) : need finite 'xlim' values I tried rescaling to kyr and it plots well. Here is a