Vscode-r: Run Selected has strange behavior

Created on 3 Jan 2018  路  5Comments  路  Source: Ikuyadeu/vscode-R

VSCode Version:1.19.1
R 3.4.3
VSCode-R Version: 0.52
Win10

Steps to Reproduce:

1.define
image

  1. select and ctrl + enter
    image

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

Most helpful comment

Apologies, I've found the problem, but wife had a baby and got distracted. I'll try to fix this weekend.

All 5 comments

@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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maxheld83 picture maxheld83  路  4Comments

ShortArrow picture ShortArrow  路  4Comments

bdeshon picture bdeshon  路  3Comments

renkun-ken picture renkun-ken  路  6Comments

tdeenes picture tdeenes  路  5Comments