Skip to content

temporary environments not passed in Windows sockets #31

@chfleming

Description

@chfleming

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions