<div class="gmail_quote"><div>I&#39;m having a problem where, when reading in variables and state labels, only the first N state labels are being used in the resulting data.frame returned by readNexus().  For example, if this is part of the CHARACTERS block of my nexus file:</div>

<div>....</div><div>        CHARSTATELABELS </div><div>                1 varX /  option1 option2 option3, 2 varY /  option4 option5 option6, 3 varZ / option7 option8; </div><div>        MATRIX</div><div>taxa1<span style="white-space:pre-wrap">        </span>121</div>

<div>taxa2<span style="white-space:pre-wrap">        </span>221</div><div>taxa3<span style="white-space:pre-wrap">        </span>000</div><div>taxa4<span style="white-space:pre-wrap">        </span>000</div>
<div>taxa5<span style="white-space:pre-wrap">        </span>000</div><div>taxa6<span style="white-space:pre-wrap">        </span>111</div><div>taxa7<span style="white-space:pre-wrap">        </span>111</div>
<div>....</div><div><br></div><div><br></div><div>readNexus returns this:</div><div>....</div><div>taxa1<span style="white-space:pre-wrap">        </span>option2 option3 option2</div><div>taxa2<span style="white-space:pre-wrap">        </span>option3 option3 option2</div>

<div>taxa3<span style="white-space:pre-wrap">        </span>option1 option1 option1</div><div>taxa4<span style="white-space:pre-wrap">        </span>option1 option1 option1</div><div>taxa5<span style="white-space:pre-wrap">        </span>option1 option1 option1</div>

<div>taxa6<span style="white-space:pre-wrap">        </span>option2 option2 option2</div><div>taxa7<span style="white-space:pre-wrap">        </span>option2 option2 option2</div><div>....</div><div><br>
</div><div>point being, readNexus doesn&#39;t seem to be assigning names to each column based on each column&#39;s states label, but only on the first N state labels, where N is the number of symbols total.  </div><div><br>

</div><div>Thanks!</div><div>Conrad</div><div><br></div><font color="#888888"><div><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#888888"><br></font></font></div></font></div><br>-- <br>
Conrad Stack<br>-----------------------<br>PSU Department of Biology<br>208 Mueller Lab <br>University Park, PA 16802<br>cell: 814.409.8310<br>email: <a href="mailto:conrad.stack@gmail.com">conrad.stack@gmail.com</a><br>