What is Nostr?
eitsupi /
npub1wq4…g822
2024-06-15 16:10:25

eitsupi on Nostr: I ran into #rstats strange behavior when trying to add active bindings inside a for ...

I ran into #rstats strange behavior when trying to add active bindings inside a for loop.
If `makeActiveBinding` is used inside the for loop, it appears that the last value is assigned for all names.
Could this be a bug in the R's for loop?

Using `lapply` instead of for loop seems to work as expected.

Author Public Key
npub1wq46732v7ylv6edx58cdvuggw3w835s2u7e6nd3gfv66ssme3sysn3g822