Hi -- that's a new one! Thanks for sending the files. Perhaps because you clipped this out of some other tree, this Newick string has extra brackets in it, which APE reads as branches with NA for branchlengths. R drops a hint when the script plots the tree (and it plots the tree without branchlengths):
=============
> # Look at your phylogeny:
> tr = read.tree(trfn)
> tr
Phylogenetic tree with 35 tips and 38 internal nodes.
Tip labels:
Pleurosoriopsis, subpetiolatum, plesiosorum, rhodopleuron, colpodes, martensii, ...
Rooted; includes branch lengths.
> plot(tr)
Warning message:
In plot.phylo(tr) :
3 branch length(s) NA(s): branch lengths ignored in the plot
=============
I looked at the Newick file:
=======================
(((((Pleurosoriopsis:24.773126232303042,((subpetiolatum:11.383175889712598,((plesiosorum:2.378678639105292,(rhodopleuron:1.1959614632108544,colpodes:1.1959614632108544):1.182717175894438):6.34866428324539,martensii:8.727342922350688):2.655832967361894):9.209581201914686,(((macaronesicum:3.7169649580983966,(cambricum_8787:0.6424977892103643,cambricum_8786:0.6424977892103643):3.074467168888031):8.202951044606586,(pellucidium:5.493341495630409,(scouleri_7216:0.6667704467547895,scouleri_7251:0.6667704467547895):4.826571048875622):6.42657450707457):1.6760549321540719,((fauriei:8.806652616052684,((glycyrrhiza_8161:1.291222128458476,((glycyrrhiza_8523:0.5464998071567838,glycyrrhiza_8009:0.5464998071567838):0.48741712836619533,((glycyrrhiza_7781:0.3992311664855398,glycyrrhiza_7783:0.3992311664855387):0.39215005520403245,(glycyrrhiza_7537:0.34280424726817754,glycyrrhiza_7768:0.34280424726817815):0.44857697442139416):0.24253571383340788):0.25730519293549636):1.225694028498135,(californicum_7249:0.30849264478491684,californicum_3829:0.30849264478491684):2.208423512171699):6.28973645909605):3.871972167763994,((((sibricium_9145:0.5845198214743779,(((appalachianum_7630:0.14726483383087902,appalachianum_7533:0.1472648338308793):0.3024116834983529,appalachianum_8029:0.4496765173292321):0.060829413676610544,amorphum_7771:0.5105059310058426):0.07401389046853535):0.5306420814798452,((sibricium_8010:0.2737274338425286,amorphum_6951:0.2737274338425284):0.4848276024514466,(amorphum_8210:0.402383727809889,(amorphum_8499:0.22024872436159834,amorphum_7773:0.2202487243615985):0.18213500344829067):0.3561713084840863):0.356606866660248):0.15098061555180364,appalachianum_8045:1.2661425185060278):0.9153653645018542,(sibricium_8039:1.1538442992113962,sibricium_8008:1.1538442992113975):1.0276635837964863):10.497116900808756):0.917346151042393):6.9967861567682235):4.180369140675754):14.236999025489428))));
=======================
...and removed four leading/trailing brackets:
=======================
(Pleurosoriopsis:24.773126232303042,((subpetiolatum:11.383175889712598,((plesiosorum:2.378678639105292,(rhodopleuron:1.1959614632108544,colpodes:1.1959614632108544):1.182717175894438):6.34866428324539,martensii:8.727342922350688):2.655832967361894):9.209581201914686,(((macaronesicum:3.7169649580983966,(cambricum_8787:0.6424977892103643,cambricum_8786:0.6424977892103643):3.074467168888031):8.202951044606586,(pellucidium:5.493341495630409,(scouleri_7216:0.6667704467547895,scouleri_7251:0.6667704467547895):4.826571048875622):6.42657450707457):1.6760549321540719,((fauriei:8.806652616052684,((glycyrrhiza_8161:1.291222128458476,((glycyrrhiza_8523:0.5464998071567838,glycyrrhiza_8009:0.5464998071567838):0.48741712836619533,((glycyrrhiza_7781:0.3992311664855398,glycyrrhiza_7783:0.3992311664855387):0.39215005520403245,(glycyrrhiza_7537:0.34280424726817754,glycyrrhiza_7768:0.34280424726817815):0.44857697442139416):0.24253571383340788):0.25730519293549636):1.225694028498135,(californicum_7249:0.30849264478491684,californicum_3829:0.30849264478491684):2.208423512171699):6.28973645909605):3.871972167763994,((((sibricium_9145:0.5845198214743779,(((appalachianum_7630:0.14726483383087902,appalachianum_7533:0.1472648338308793):0.3024116834983529,appalachianum_8029:0.4496765173292321):0.060829413676610544,amorphum_7771:0.5105059310058426):0.07401389046853535):0.5306420814798452,((sibricium_8010:0.2737274338425286,amorphum_6951:0.2737274338425284):0.4848276024514466,(amorphum_8210:0.402383727809889,(amorphum_8499:0.22024872436159834,amorphum_7773:0.2202487243615985):0.18213500344829067):0.3561713084840863):0.356606866660248):0.15098061555180364,appalachianum_8045:1.2661425185060278):0.9153653645018542,(sibricium_8039:1.1538442992113962,sibricium_8008:1.1538442992113975):1.0276635837964863):10.497116900808756):0.917346151042393):6.9967861567682235):4.180369140675754):14.236999025489428;
=======================
...and it seems to work now.
Cheers,
Nick