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
However, adding print(t1) anywhere in the loop will make the code work.
I assume this is because furrr shares with the workers only those global variables that are used in the loop, and that it does not recognize variables inside glue expressions as variables to be shared.
Thanks for the awesome furrr package. Love it.
The text was updated successfully, but these errors were encountered:
Hi
When the first time a global variable appears in a
furrr
function is in aglue
expression, the loop fails with errorobject XXX not found
.Example:
However, adding
print(t1)
anywhere in the loop will make the code work.I assume this is because
furrr
shares with the workers only those global variables that are used in the loop, and that it does not recognize variables inside glue expressions as variables to be shared.Thanks for the awesome
furrr
package. Love it.The text was updated successfully, but these errors were encountered: