[R] faster mvrnorm alternative
Hello, does anybody know another faster function for random multivariate normal variable simulation? I'm using mvrnorm, but as profiling shows, my algorithm spends approximately 50 % in executing mvrnorm function. Maybe some of you knows much faster function for multivariate normal simulation? I would be very gratefull for advices. -- View this message in context: http://r.789695.n4.nabble.com/faster-mvrnorm-alternative-tp3231269p3231269.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] parralellization without clustering (snow)
Hi, I'm running R in supercomputer where clusters already are configurered, i.e. number of procesors are predefined and I cannot change it. Can I still use package like snow? I'm worrying that command like makeCluster won't be very 'healthy'. Or its ok to use it? Thanks in advance, Tomas -- View this message in context: http://r.789695.n4.nabble.com/parralellization-without-clustering-snow-tp4039275p4039275.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] set random numbers seed for different cpu's
Hi I'm running the same R script (throuth linux shell) of several cpu's. This R program uses random numbers and the result should be different every time. But if put jobs (through Torque) for several cpu's I get the same result. As a resealt my program saves numbers in file with randomly generated names. works like a charm on one cpu, but I get the same result from different cpu's. So my question is, how can I resolve this? How to set pseudo random number seed so that different cpu's would produce different results? Thank you in advance. -- View this message in context: http://r.789695.n4.nabble.com/set-random-numbers-seed-for-different-cpu-s-tp4080165p4080165.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.