Thanks! It worked fine. -- View this message in context: http://r.789695.n4.nabble.com/Simple-Function-tp3035585p3038017.html Sent from the R help mailing list archive at Nabble.com.