Hey Gerrit , Thanks your solution works -- View this message in context: http://r.789695.n4.nabble.com/replacing-values-in-Array-tp4468739p4477758.html Sent from the R help mailing list archive at Nabble.com.