fixed bug in R_code window for nexus files