After call to REngine.GetInstance, app's own Ctrl+C handler no longer works
See original GitHub issueI’m using .NET Core - as stated, after I’ve called GetInstance, my Ctrl+C handler (added via Console.CancelKeyPress += ...
is no longer called when I hit Ctrl+C
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Can't get REngine instance from R.NET
I encountered the same problem. Calling REngine.GetInstance() makes the entire process exit silently with code 2.
Read more >Rdotnet application crash when GetFunction< ...
I adapted a simple C program from the main R code base that sets up and calls setup_Rmainloop . This works - it...
Read more >What is missing from MATLAB #2 - the next decade edition
When typing code, if user wants to reference a variable or a function, one could click tab and get a matching list of...
Read more >Native Reference Guide
A working container runtime (Docker, podman). This guide builds and executes Quarkus native executables within a Linux environment. To offer a homogeneous ...
Read more >https://raw.githubusercontent.com/dotnet/samples/m...
XDocument) - Adding some tests for XDocument (more coming later) 94 area-Meta Necessary ... NET library as part of their own applications, performance...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kierenj - sorry for not closing the loop on this before. Yes, I think it would mean a custom build of R. I’ve been trying to actually do this to verify it’ll solve the problem, but have just had some problems getting R to build in my environment. I’m not sure if you had progressed with this, but curious to know where you stand with this issue.
No problem:
https://github.com/kierenj/rdotnet-ctrl-c-repro
master
branch ignores theCancelKeyPressHandler
working
branch works fine - because the call toREngine.GetInstance
is commented outLet me know if I can assist/help any further