On 21 January 2011 at 11:32, Xiaochun Sun wrote: | Many thanks for your reply. Rf_rnorm works very good with me. Glad to hear it helped, and let us know if you have other questions. Cheers, Dirk -- Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com