thank u so much! i got it. -- View this message in context: http://r.789695.n4.nabble.com/How-generate-random-numbers-from-given-vector-tp4647447p4647469.html Sent from the R help mailing list archive at Nabble.com.