Genius! Thank you very much. Yes indeed I should have thought of that. For some reason I have a mental blank about the use of row.names and instead I repeatedly put that kind of data as a column in the data frame. Thank you for the rescue.