[rkward] [Bug 421958] RKWard and R 4.0.0 breaks during for-loop
Thomas Friedrichsmeier
bugzilla_noreply at kde.org
Sat May 23 13:16:37 BST 2020
https://bugs.kde.org/show_bug.cgi?id=421958
--- Comment #3 from Thomas Friedrichsmeier <thomas.friedrichsmeier at ruhr-uni-bochum.de> ---
Well, this definitely looks like a bug in R, although I am afraid active
bindings are not a heavily used feature in R, and depending on how hard this is
to fix, it may or may not get priority.
The short term workaround - I'll admit it is a lousy on - is to either put the
whole for()-loop into a local() environment, or to remove the loop index after
using it.
The fallback plan for RKWard is to avoid using active bindings (we happen to
use them for detecting when a symbol has been changed). This has been on my
TODO list for a long time, for performance reasons, but unfortunately it's not
quite trivial to implement...
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the rkward-devel
mailing list