You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit: just found that the number of workers can be retrieved with future::nbrOfWorkers()
I was wondering if there's a simple command to retrieve the current plan and the current number of workers; similar to what foreach::getDoParRegistered() and foreach::getDoParWorkers() do in doParallel.
I see that the functions future::futureSessionInfo() and future::plan() (with no arguments) contain this desired information, but it looks like one has to extract it via string manipulation or something similar.
Thank you for your help and thank the devs for doFuture!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Edit: just found that the number of workers can be retrieved with
future::nbrOfWorkers()I was wondering if there's a simple command to retrieve the current
planand the current number of workers; similar to whatforeach::getDoParRegistered()andforeach::getDoParWorkers()do indoParallel.I see that the functions
future::futureSessionInfo()andfuture::plan()(with no arguments) contain this desired information, but it looks like one has to extract it via string manipulation or something similar.Thank you for your help and thank the devs for
doFuture!Beta Was this translation helpful? Give feedback.
All reactions