[rkward] [Bug 421958] New: RKWard and R 4.0.0 breaks during for-loop

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sat May 23 10:31:50 BST 2020


https://bugs.kde.org/show_bug.cgi?id=421958

            Bug ID: 421958
           Summary: RKWard and R 4.0.0 breaks during for-loop
           Product: rkward
           Version: unspecified
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: grave
          Priority: NOR
         Component: R Console
          Assignee: rkward-devel at kde.org
          Reporter: flyos at mailoo.org
  Target Milestone: ---

SUMMARY
Since updating to R 4.0.0, running a for loop for a second time results in an
error, preventing the code to run successfully. This only happens in RKWard,
not in command line R.


STEPS TO REPRODUCE
1. Open RKWard (with R 4.0.0) and the R console panel.
2. Input this minimal working example: "for (i in 1:100) { print(i) }",
everything seems to work.
3. Input the line once again: "for (i in 1:100) { print(i) }", this times, it
results in an error.

EXPECTED RESULT
The second for-loop should yield numbers from 1 to 100, as it does for the
first time.

OBSERVED RESULT
Instead, it yields 100 NULL values and the following error, displayed twice:
Error in ls(globalenv(), all.names = TRUE) : 
  Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'NULL'


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20200519
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.1
Kernel Version: 5.6.12-1-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i3-2120 CPU @ 3.30GHz
Memory: 7,7 Gio

ADDITIONAL INFORMATION
RKWard 0.7.1
R 4.0.0

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the rkward-devel mailing list