Thanks David, works fine! robert -- View this message in context: http://r.789695.n4.nabble.com/legend-tp2550747p2715250.html Sent from the R help mailing list archive at Nabble.com.