Your R script works very well. Thank you very much. Lisa -- View this message in context: http://r.789695.n4.nabble.com/Add-columns-of-dataset-tp3071722p3072513.html Sent from the R help mailing list archive at Nabble.com.