I have noticed that commands are not always automatically ran when using ctrl-enter to send commands to the R interactive terminal when using VSCode. My educated guess is that this is caused by linebreaks within function calls.
For example,
print("here")
seems to work when sending to the terminal but
print(
"here"
)
does not. By which I mean the command is sent to the terminal, but it is not executed automatically. I have to manually click the terminal and hit enter, then click back to the editor pane.
Some other examples:
print(
"here")
seems to work as well as
print("here"
)
Any ideas? I also use vi mode, not sure if that is related.
I have noticed that commands are not always automatically ran when using
ctrl-enter
to send commands to the R interactive terminal when using VSCode. My educated guess is that this is caused by linebreaks within function calls.For example,
seems to work when sending to the terminal but
does not. By which I mean the command is sent to the terminal, but it is not executed automatically. I have to manually click the terminal and hit enter, then click back to the editor pane.
Some other examples:
seems to work as well as
Any ideas? I also use vi mode, not sure if that is related.