VSCode Version:1.19.1
R 3.4.3
VSCode-R Version: 0.52
Win10
Steps to Reproduce:
1.define


Run Wrong selection

And then append a ')' and enter
The terminal process terminated with exit code: 3221226356

@Victsz thanks for the detailed notes. I鈥檒l fix it ASAP.
I'm experiencing something similar on Mac. When I run a selection it actually tries to run all code on that line up until (and including) the selection, rather than only the selected text.
Apologies, I've found the problem, but wife had a baby and got distracted. I'll try to fix this weekend.
As a temporary workaround, I got the desired behaviour by adding this entry to my keybindings.json file:
{"key": "ctrl+enter", "command": "workbench.action.terminal.runSelectedText"}
Ok! Finally starting on this fix.
Most helpful comment
Apologies, I've found the problem, but wife had a baby and got distracted. I'll try to fix this weekend.