[rkward] [Bug 498423] New: stop does not cancel the execution of the script

Jan bugzilla_noreply at kde.org
Thu Jan 9 11:18:30 GMT 2025


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

            Bug ID: 498423
           Summary: stop does not cancel the execution of the script
    Classification: Applications
           Product: rkward
           Version: unspecified
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: rkward-devel at kde.org
          Reporter: yzle at gmx.de
  Target Milestone: ---

Using RKWard 0.8.1 (rkward-master-1453-linux-gcc-x86_64.AppImage) at Lubuntu
24.04.1

SUMMARY

Neither stop() command in script nor "Interrupt all commands" nor "Interrupt
running command" on GUI stops further execution of the script.

STEPS TO REPRODUCE

1. Open RKWard.
2. New Script File.

print("start")
stop()
Sys.sleep(Inf)
print("end")

3. Run all.

4. Press "Interrupt all commands" or "Interrupt running command".

OBSERVED RESULT

> print("start")
[1] "start"
+ stop()
Error: 
+ Sys.sleep(Inf)

+ print("end")
[1] "end"
> 

EXPECTED RESULT

Script should stop at stop(). But it continues. The command Sys.sleep(Inf)
makes it wait. If you press the button "Interrupt all commands" or "Interrupt
running command", the execution of the script should be terminated. But the
script is executed to the end.

ADDITIONAL INFORMATION

- using R-version from cran
- command works from R terminal without error
- R_X11.so and cairo.so are where you expect them to be

sessionInfo()
R version 4.4.2 (2024-10-31)
Platform: x86_64-pc-linux-gnu
Running under: Ubuntu 24.04.1 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.12.0 
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.12.0

locale:
[1] LC_CTYPE=de_DE.UTF-8          LC_NUMERIC=C                 
LC_TIME=de_DE.UTF-8           LC_COLLATE=de_DE.UTF-8       
LC_MONETARY=de_DE.UTF-8      
[6] LC_MESSAGES=de_DE.UTF-8       LC_PAPER=de_DE.UTF-8         
LC_NAME=de_DE.UTF-8           LC_ADDRESS=de_DE.UTF-8       
LC_TELEPHONE=de_DE.UTF-8     
[11] LC_MEASUREMENT=de_DE.UTF-8    LC_IDENTIFICATION=de_DE.UTF-8

time zone: Europe/Berlin
tzcode source: system (glibc)

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] XML_3.99-0.18 RODBC_1.3-26  rkward_0.8.1 

loaded via a namespace (and not attached):
[1] compiler_4.4.2 tools_4.4.2    grid_4.4.2     lattice_0.22-6

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


More information about the rkward-devel mailing list