To Jason: Still thank you, your reply gives me some clue about how to do this. To Duncan: Thank you for rely. It helped. Karena -- View this message in context: http://r.789695.n4.nabble.com/Random-number-generation-tp3685463p3685821.html Sent from the R help mailing list archive at Nabble.com.