Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aborting a parallel computation is in general not possible #13

Open
martin-ueding opened this issue Feb 6, 2019 · 1 comment
Open

Comments

@martin-ueding
Copy link
Contributor

We sometimes want to abort a parallel computation. CtrlC does not have any effect, it does not exit. We have helped outselves with CtrlZ, which stops the current process and moves it to the background. The problem is that this process still takes up memory and sometimes even has a lock on the R library. Logging out of that particular session then kills all the children.

This is not really nice, especially since in RStudio you are just stuck with a process you cannot control any more and need to restart R within RStudio.

It would be desirable to have a mechanism of stopping a mclapply.

@martin-ueding
Copy link
Contributor Author

Apparently that only happens with pbmclapply but not mclapply. I have filed a bug with pbmclapply for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant