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

Register doParallel cluster automatically if doParallel is a package is requested #38

Open
richfitz opened this issue Apr 4, 2017 · 1 comment

Comments

@richfitz
Copy link
Member

richfitz commented Apr 4, 2017

or as an explicit option

@richfitz
Copy link
Member Author

richfitz commented Apr 4, 2017

At the moment, this is needed:

  tryCatch(registerDoParallel(context::parallel_cluster()),
           error = function(e) message("did not set up parallel cluster"))

cc: @mponssal

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