search for: sflnit

Displaying 1 result from an estimated 1 matches for "sflnit".

Did you mean: sfinit
2014 Jan 28
0
Help for how to use "snowfall" package
...the simulation #simulation part, start from "while loop" sink('SnowFallExample.Rout', split=TRUE) .Platform .Machine R.version Sys.info() sfInit(parallel=TRUE,cpus=4,type="SOCK") simu<-1 while(simu<=1000){ functions..... } Then I used the above structure with sflnit to do the simulation, I found that there is no change on the time for simulation, even worse, sometime, the code with "sflnit" is slower than the code without sflnit. So any suggestions? Another problem is that when I use library(snowfall) , even though I have set the seed with "201...