We have a "smart" parallelized lapply function plapply that uses fork in UNIX and sockets in Windows.
I also have a few functions that (for repeated calculations) store and access intermediate calculations in an environment. For instance, when running simulations from simulate.ctmm with the precompute=TRUE argument, I store stuff a bunch of calculated stuff in the environment Kalman.env. Then on further runs with precompute=-1, which assumes the same inputs, I pull those variables from Kalman.env instead of wastefully calculating them again.
It seems these environments I'm using don't carry over by default with the Windows sockets and I don't presently know how to make them.
We have a "smart" parallelized lapply function plapply that uses fork in UNIX and sockets in Windows.
I also have a few functions that (for repeated calculations) store and access intermediate calculations in an environment. For instance, when running simulations from
simulate.ctmmwith theprecompute=TRUEargument, I store stuff a bunch of calculated stuff in the environmentKalman.env. Then on further runs withprecompute=-1, which assumes the same inputs, I pull those variables fromKalman.envinstead of wastefully calculating them again.It seems these environments I'm using don't carry over by default with the Windows sockets and I don't presently know how to make them.